Skip to content

Commit

Permalink
Ignore Starlette type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
garryod committed Apr 17, 2024
1 parent 788a4f6 commit 66e4970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graph_energy_scan/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def serve(database_url: str, host: str, port: int, otel_collector_url: str):
setup_telemetry(otel_collector_url)
create_session(database_url)
app = Starlette()
app.add_route("/graphql", GraphQL(SCHEMA))
app.add_middleware(OpenTelemetryMiddleware)
app.add_route("/graphql", GraphQL(SCHEMA)) # type: ignore
app.add_middleware(OpenTelemetryMiddleware) # type: ignore
uvicorn.run(app, host=host, port=port)


Expand Down

0 comments on commit 66e4970

Please sign in to comment.