MCPcopy
hub / github.com/pallets/click / _create_progress

Function _create_progress

tests/test_termui.py:34–38  ·  view source on GitHub ↗
(length=10, **kwargs)

Source from the content-addressed store, hash-verified

32
33
34def _create_progress(length=10, **kwargs):
35 progress = click.progressbar(tuple(range(length)))
36 for key, value in kwargs.items():
37 setattr(progress, key, value)
38 return progress
39
40
41def test_progressbar_strip_regression(runner, monkeypatch):

Calls

no outgoing calls

Tested by

no test coverage detected