diff options
| author | John Estabrook <jestabro@vyos.io> | 2024-09-24 22:48:25 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2024-09-29 22:21:21 -0500 |
| commit | fc9885f859617bab36c971f4eaa56240741f52c4 (patch) | |
| tree | 7833c8e88191699b88920e02d67904101335cdbb /src/services/api/graphql/state.py | |
| parent | 3ad911a20620a67b6a019e86da815e2a25047de7 (diff) | |
| download | vyos-1x-fc9885f859617bab36c971f4eaa56240741f52c4.tar.gz vyos-1x-fc9885f859617bab36c971f4eaa56240741f52c4.zip | |
http-api: T6736: separate REST API and GraphQL API activation
The GraphQL API was implemented as an addition to the existing REST API.
As there is no necessary dependency, separate the initialization of the
respective endpoints. Factor out the REST Pydantic models and FastAPI
routes for symmetry and clarity.
Diffstat (limited to 'src/services/api/graphql/state.py')
| -rw-r--r-- | src/services/api/graphql/state.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/services/api/graphql/state.py b/src/services/api/graphql/state.py deleted file mode 100644 index 63db9f4ef..000000000 --- a/src/services/api/graphql/state.py +++ /dev/null @@ -1,4 +0,0 @@ - -def init(): - global settings - settings = {} |
