MCPcopy Create free account
hub / github.com/dagger/dagger / legacy_id_class

Function legacy_id_class

sdk/python/codegen/src/codegen/generator.py:416–423  ·  view source on GitHub ↗
(type_name: IDName)

Source from the content-addressed store, hash-verified

414
415
416def legacy_id_class(type_name: IDName) -> str:
417 return textwrap.dedent(
418 f'''\
419
420 class {type_name}(Scalar):
421 """Legacy typed ID alias for the unified ID scalar."""
422 '''
423 )
424
425
426def expected_type_name(

Callers 1

generateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected