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

Class Foo

tests/test_context.py:18–20  ·  tests/test_context.py::Foo

Source from the content-addressed store, hash-verified

16
17def test_ensure_context_objects(runner):
18 class Foo:
19 def __init__(self):
20 self.title = class="st">"default"
21
22 pass_foo = click.make_pass_decorator(Foo, ensure=True)
23

Callers 1

cliFunction · 0.85

Calls

no outgoing calls

Tested by 1

cliFunction · 0.68