(self, value)
| 939 | yield doc("\n\n".join(doc_parts)) |
| 940 | |
| 941 | def _get_value(self, value) -> str: |
| 942 | if value.ast_node and (directive := self.ctx.schema.get_directive("enumValue")): |
| 943 | args = graphql.get_directive_values(directive, value.ast_node) |
| 944 | if args: |
| 945 | return args["value"] |
| 946 | return value.value |
| 947 | |
| 948 | |
| 949 | class Field(Protocol): |