Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for strawberry (0.17 sec)

  1. docs/de/docs/how-to/graphql.md

    Hier ist eine kleine Vorschau, wie Sie Strawberry mit FastAPI integrieren kรถnnen:
    
    ```Python hl_lines="3  22  25-26"
    {!../../../docs_src/graphql/tutorial001.py!}
    ```
    
    Weitere Informationen zu Strawberry finden Sie in der <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry-Dokumentation</a>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 18:18:31 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/graphql.md

    Here's a small preview of how you could integrate Strawberry with FastAPI:
    
    ```Python hl_lines="3  22  25-26"
    {!../../../docs_src/graphql/tutorial001.py!}
    ```
    
    You can learn more about Strawberry in the <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry documentation</a>.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  3. docs_src/graphql/tutorial001.py

    import strawberry
    from fastapi import FastAPI
    from strawberry.asgi import GraphQL
    
    
    @strawberry.type
    class User:
        name: str
        age: int
    
    
    @strawberry.type
    class Query:
        @strawberry.field
        def user(self) -> User:
            return User(name="Patrick", age=100)
    
    
    schema = strawberry.Schema(query=Query)
    
    
    graphql_app = GraphQL(schema)
    
    app = FastAPI()
    app.add_route("/graphql", graphql_app)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sun Oct 03 18:00:28 GMT 2021
    - 446 bytes
    - Viewed (0)
  4. docs/em/docs/how-to/graphql.md

        โš’ ๐Ÿ’ญ ๐Ÿ‘† ๐Ÿ”ฌ ๐Ÿšฅ **๐Ÿ’ฐ** ๐Ÿ‘† โš™๏ธ ๐Ÿ’ผ โš– **๐Ÿ‘**. ๐Ÿ‘ถ
    
    ## ๐Ÿ•น ๐Ÿ—ƒ
    
    ๐Ÿ“ฅ **๐Ÿ•น** ๐Ÿ—ƒ ๐Ÿ‘ˆ โœ”๏ธ **๐Ÿ”ซ** ๐Ÿ•โ€๐Ÿฆบ. ๐Ÿ‘† ๐Ÿ’ช โš™๏ธ ๐Ÿ‘ซ โฎ๏ธ **FastAPI**:
    
    * <a href="https://strawberry.rocks/" class="external-link" target="_blank">๐Ÿ“</a> ๐Ÿ‘ถ
        * โฎ๏ธ <a href="https://strawberry.rocks/docs/integrations/fastapi" class="external-link" target="_blank">๐Ÿฉบ FastAPI</a>
    * <a href="https://ariadnegraphql.org/" class="external-link" target="_blank">๐Ÿ‘ธ</a>
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top