MCPcopy Index your code
hub / github.com/fluentpython/example-code-2e / __call__

Method __call__

21-async/mojifinder/bottle.py:488–492  ·  view source on GitHub ↗
(self, *a, **ka)

Source from the content-addressed store, hash-verified

486 self.config = ConfigDict().load_dict(config, make_namespaces=True)
487
488 def __call__(self, *a, **ka):
489 depr("Some APIs changed to return Route() instances instead of"\
490 " callables. Make sure to use the Route.call method and not to"\
491 " call Route instances directly.") #0.12
492 return self.call(*a, **ka)
493
494 @cached_property
495 def call(self):

Callers

nothing calls this directly

Calls 2

callMethod · 0.95
deprFunction · 0.85

Tested by

no test coverage detected