Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 781 for typing (0.04 sec)

  1. docs/es/docs/tutorial/query-params-str-validations.md

    ### Importar `Query` y `Annotated` { #import-query-and-annotated }
    
    Para lograr eso, primero importa:
    
    * `Query` desde `fastapi`
    * `Annotated` desde `typing`
    
    {* ../../docs_src/query_params_str_validations/tutorial002_an_py310.py hl[1,3] *}
    
    /// info | Información
    
    FastAPI añadió soporte para `Annotated` (y empezó a recomendarlo) en la versión 0.95.0.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  2. scripts/translate.py

    import json
    import secrets
    import subprocess
    from collections.abc import Iterable
    from functools import lru_cache
    from os import sep as pathsep
    from pathlib import Path
    from typing import Annotated
    
    import git
    import typer
    import yaml
    from github import Github
    from pydantic_ai import Agent
    from rich import print
    
    non_translated_sections = (
        f"reference{pathsep}",
        "release-notes.md",
        "fastapi-people.md",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:05:53 UTC 2025
    - 34.1K bytes
    - Viewed (0)
  3. docs/ru/docs/deployment/docker.md

    ### Создать код **FastAPI** { #create-the-fastapi-code }
    
    * Создайте директорию `app` и перейдите в неё.
    * Создайте пустой файл `__init__.py`.
    * Создайте файл `main.py` со следующим содержимым:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 44.7K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/query-params-str-validations.md

    ### `Query` und `Annotated` importieren { #import-query-and-annotated }
    
    Um dies zu erreichen, importieren Sie zuerst:
    
    * `Query` von `fastapi`
    * `Annotated` von `typing`
    
    {* ../../docs_src/query_params_str_validations/tutorial002_an_py310.py hl[1,3] *}
    
    /// info | Info
    
    FastAPI hat Unterstützung für `Annotated` hinzugefügt (und begonnen, es zu empfehlen) in der Version 0.95.0.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/query-params-str-validations.md

    ### Importe `Query` e `Annotated` { #import-query-and-annotated }
    
    Para isso, primeiro importe:
    
    * `Query` de `fastapi`
    * `Annotated` de `typing`
    
    {* ../../docs_src/query_params_str_validations/tutorial002_an_py310.py hl[1,3] *}
    
    /// info | Informação
    
    O FastAPI adicionou suporte a `Annotated` (e passou a recomendá-lo) na versão 0.95.0.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  6. tests/test_response_model_as_return_annotation.py

    from typing import Union
    
    import pytest
    from fastapi import FastAPI
    from fastapi.exceptions import FastAPIError, ResponseValidationError
    from fastapi.responses import JSONResponse, Response
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    
    class BaseUser(BaseModel):
        name: str
    
    
    class User(BaseUser):
        surname: str
    
    
    class DBUser(User):
        password_hash: str
    
    
    class Item(BaseModel):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 47.7K bytes
    - Viewed (0)
  7. docs/en/docs/alternatives.md

    I consider **FastAPI** a "spiritual successor" to APIStar, while improving and increasing the features, typing system, and other parts, based on the learnings from all these previous tools.
    
    ///
    
    ## Used by **FastAPI** { #used-by-fastapi }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  8. docs/pt/docs/deployment/docker.md

    ///
    
    ### Crie o código do **FastAPI** { #create-the-fastapi-code }
    
    * Crie um diretório `app` e entre nele.
    * Crie um arquivo vazio `__init__.py`.
    * Crie um arquivo `main.py` com:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 32.1K bytes
    - Viewed (0)
  9. docs/zh/docs/deployment/docker.md

    还有其他文件格式和工具来定义和安装依赖项。
    
     我将在下面的部分中向你展示一个使用 Poetry 的示例。 👇
    
    ///
    
    ### 创建 **FastAPI** 代码
    
    * 创建`app`目录并进入。
    * 创建一个空文件`__init__.py`。
    * 创建一个 `main.py` 文件:
    
    
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * 📝 Add more precise description of HTTP status code range in docs. PR [#13347](https://github.com/fastapi/fastapi/pull/13347) by [@DanielYang59](https://github.com/DanielYang59).
    * 🔥 Remove manual type annotations in JWT tutorial to avoid typing expectations (JWT doesn't provide more types). PR [#13378](https://github.com/fastapi/fastapi/pull/13378) by [@tiangolo](https://github.com/tiangolo).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top