Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardfeng-db committed Feb 19, 2024
1 parent 7c71004 commit 028d1a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/proto_to_graphql/schema_autogeneration.py
Expand Up @@ -148,6 +148,8 @@ def generate_schema(state):

def apply_schema_extension(referenced_class_name):
if referenced_class_name in EXTENDED_TO_EXTENDING:
# Using dotted module path as pointed out in the linked GitHub issue. This is an undocumented feature of Graphene.

Check failure on line 151 in dev/proto_to_graphql/schema_autogeneration.py

View workflow job for this annotation

GitHub Actions / lint

Line too long (122 > 100). See https://docs.astral.sh/ruff/rules/E501 for how to fix this error.
# https://github.com/graphql-python/graphene/issues/110#issuecomment-1219737639
return f"'mlflow.server.graphql.graphql_schema_extensions.{EXTENDED_TO_EXTENDING[referenced_class_name]}'"

Check failure on line 153 in dev/proto_to_graphql/schema_autogeneration.py

View workflow job for this annotation

GitHub Actions / lint

Line too long (114 > 100). See https://docs.astral.sh/ruff/rules/E501 for how to fix this error.
else:
return referenced_class_name
Expand Down

0 comments on commit 028d1a0

Please sign in to comment.