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

Function eager_cb

tests/test_defaults.py:320–322  ·  view source on GitHub ↗
(ctx, param, value)

Source from the content-addressed store, hash-verified

318 """
319
320 def eager_cb(ctx, param, value):
321 source = ctx.get_parameter_source(param.name)
322 click.echo(f"callback source={source.name if source else None}")
323
324 @click.command()
325 @click.option(

Callers

nothing calls this directly

Calls 1

get_parameter_sourceMethod · 0.80

Tested by

no test coverage detected