Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for graph_ (0.16 sec)

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

    # GraphQL
    
    As **FastAPI** is based on the **ASGI** standard, it's very easy to integrate any **GraphQL** library also compatible with ASGI.
    
    You can combine normal FastAPI *path operations* with GraphQL on the same application.
    
    !!! tip
        **GraphQL** solves some very specific use cases.
    
        It has **advantages** and **disadvantages** when compared to common **web APIs**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/dependencies/sub-dependencies.md

        Aber **FastAPI** wird wissen, dass es zuerst `query_extractor` auflösen muss, um dessen Resultat `query_or_cookie_extractor` zu übergeben, wenn dieses aufgerufen wird.
    
    ```mermaid
    graph TB
    
    query_extractor(["query_extractor"])
    query_or_cookie_extractor(["query_or_cookie_extractor"])
    
    read_query["/items/"]
    
    query_extractor --> query_or_cookie_extractor --> read_query
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:09:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  3. docs_src/graphql/tutorial001.py

    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 May 05 07:19:11 GMT 2024
    - Last Modified: Sun Oct 03 18:00:28 GMT 2021
    - 446 bytes
    - Viewed (0)
  4. docs/zh/docs/tutorial/dependencies/index.md

    且该参数必须是可调用对象,比如函数。
    
    该函数接收的参数和*路径操作函数*的参数一样。
    
    !!! tip "提示"
    
        下一章介绍,除了函数还有哪些「对象」可以用作依赖项。
    
    接收到新的请求时,**FastAPI** 执行如下操作:
    
    * 用正确的参数调用依赖项函数(「可依赖项」)
    * 获取函数返回的结果
    * 把函数返回的结果赋值给*路径操作函数*的参数
    
    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    这样,只编写一次代码,**FastAPI** 就可以为多个*路径操作*共享这段代码 。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 7K bytes
    - Viewed (0)
  5. docs/az/docs/fastapi-people.md

    {% endfor %}
    
    </div>
    {% endif %}
    
    Bundan başqa bir neçə (yüzdən çox) əməkdaş var ki, onları <a href="https://github.com/tiangolo/fastapi/graphs/contributors" class="external-link" target="_blank">FastAPI GitHub Əməkdaşlar səhifəsində</a> görə bilərsiniz. 👷
    
    ## Ən çox rəy verənlər
    
    Bu istifadəçilər **ən çox rəy verənlər**dir.
    
    ### Tərcümələr üçün rəylər
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. docs/tr/docs/fastapi-people.md

    {% endfor %}
    
    </div>
    {% endif %}
    
    Bunlar dışında katkıda bulunan, yüzden fazla, bir sürü insan var. Hepsini <a href="https://github.com/tiangolo/fastapi/graphs/contributors" class="external-link" target="_blank">FastAPI GitHub Katkıda Bulunanlar</a> sayfasında görebilirsin. 👷
    
    ## En Fazla Değerlendirme Yapanlar
    
    İşte **en çok değerlendirme yapanlar**. 🕵️
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/behind-a-proxy.md

    Because we have a proxy with a path prefix of `/api/v1` for our app, the frontend needs to fetch the OpenAPI schema at `/api/v1/openapi.json`.
    
    ```mermaid
    graph LR
    
    browser("Browser")
    proxy["Proxy on http://0.0.0.0:9999/api/v1/app"]
    server["Server on http://127.0.0.1:8000/app"]
    
    browser --> proxy
    proxy --> server
    ```
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  8. docs/ru/docs/tutorial/first-steps.md

        **FastAPI** не навязывает определенного значения для каждого метода.
    
        Информация здесь представлена как рекомендация, а не требование.
    
        Например, при использовании GraphQL обычно все действия выполняются только с помощью POST операций.
    
    ### Шаг 4: определите **функцию операции пути**
    
    Вот "**функция операции пути**":
    
    * **путь**: `/`.
    * **операция**: `get`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/first-steps.md

        **FastAPI** erzwingt keine bestimmte Bedeutung.
    
        Die hier aufgeführten Informationen dienen als Leitfaden und sind nicht verbindlich.
    
        Wenn Sie beispielsweise GraphQL verwenden, führen Sie normalerweise alle Aktionen nur mit „POST“-Operationen durch.
    
    ### Schritt 4: Definieren der **Pfadoperation-Funktion**
    
    Das ist unsere „**Pfadoperation-Funktion**“:
    
    * **Pfad**: ist `/`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:16:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/first-steps.md

        **FastAPI** doesn't enforce any specific meaning.
    
        The information here is presented as a guideline, not a requirement.
    
        For example, when using GraphQL you normally perform all the actions using only `POST` operations.
    
    ### Step 4: define the **path operation function**
    
    This is our "**path operation function**":
    
    * **path**: is `/`.
    * **operation**: is `get`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top