Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for add_websocket_route (0.1 sec)

  1. docs_src/graphql/tutorial001.py

            return User(name="Patrick", age=100)
    
    
    schema = strawberry.Schema(query=Query)
    
    
    graphql_app = GraphQL(schema)
    
    app = FastAPI()
    app.add_route("/graphql", graphql_app)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 03 18:00:28 UTC 2021
    - 446 bytes
    - Viewed (0)
Back to top