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

Method experimental

sdk/python/codegen/src/codegen/generator.py:887–895  ·  view source on GitHub ↗
(self, prefix='"', suffix='"')

Source from the content-addressed store, hash-verified

885 return rewrite_notice(self.graphql.deprecation_reason, prefix, suffix)
886
887 def experimental(self, prefix='"', suffix='"') -> str:
888 reason = ""
889 if self.graphql.ast_node and (
890 directive := self.ctx.schema.get_directive("experimental")
891 ):
892 args = graphql.get_directive_values(directive, self.graphql.ast_node)
893 if args:
894 reason = args["reason"]
895 return rewrite_notice(reason, prefix, suffix)
896
897
898@dataclass

Callers 1

_outMethod · 0.95

Calls 1

rewrite_noticeFunction · 0.85

Tested by

no test coverage detected