diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-04 05:37:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-04 05:37:33 +0100 |
commit | 493af3f3417cef5c9898f242a2b885e63e3bdeef (patch) | |
tree | b9536a832d7693f2f35d90fc75b58ff57be4d640 /src/services/api/graphql/bindings.py | |
parent | e5eb4f332f03df51d64d51e7f38ee561f298188c (diff) | |
parent | 7ab3b9e021e7ce1c56b9f252a04400a37fd33e71 (diff) | |
download | vyos-1x-493af3f3417cef5c9898f242a2b885e63e3bdeef.tar.gz vyos-1x-493af3f3417cef5c9898f242a2b885e63e3bdeef.zip |
Merge pull request #1862 from jestabro/schema-generate
graphql: T5040: generate schema on installation, rather than dynamically
Diffstat (limited to 'src/services/api/graphql/bindings.py')
-rw-r--r-- | src/services/api/graphql/bindings.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/services/api/graphql/bindings.py b/src/services/api/graphql/bindings.py index aa1ba0eb0..ef4966466 100644 --- a/src/services/api/graphql/bindings.py +++ b/src/services/api/graphql/bindings.py @@ -19,9 +19,6 @@ from . graphql.mutations import mutation from . graphql.directives import directives_dict from . graphql.errors import op_mode_error from . graphql.auth_token_mutation import auth_token_mutation -from . generate.schema_from_op_mode import generate_op_mode_definitions -from . generate.schema_from_config_session import generate_config_session_definitions -from . generate.schema_from_composite import generate_composite_definitions from . libs.token_auth import init_secret from . import state from ariadne import make_executable_schema, load_schema_from_path, snake_case_fallback_resolvers @@ -29,10 +26,6 @@ from ariadne import make_executable_schema, load_schema_from_path, snake_case_fa def generate_schema(): api_schema_dir = vyos.defaults.directories['api_schema'] - generate_op_mode_definitions() - generate_config_session_definitions() - generate_composite_definitions() - if state.settings['app'].state.vyos_auth_type == 'token': init_secret() |