Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 342 for type0 (0.03 sec)

  1. docs/de/docs/python-types.md

    Diese Typen mit inneren Typen werden „**generische**“ Typen genannt. Es ist möglich, sie mit ihren inneren Typen zu deklarieren.
    
    Um diese Typen und die inneren Typen zu deklarieren, können Sie Pythons Standardmodul `typing` verwenden. Es existiert speziell für die Unterstützung dieser Typhinweise.
    
    #### Neuere Python-Versionen { #newer-versions-of-python }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.9K bytes
    - Viewed (1)
  2. docs/pt/docs/python-types.md

    # Introdução aos tipos Python { #python-types-intro }
    
    O Python possui suporte para "dicas de tipo" ou "type hints" (também chamado de "anotações de tipo" ou "type annotations")
    
    Esses **"type hints"** são uma sintaxe especial que permite declarar o <abbr title = "por exemplo: str, int, float, bool">tipo</abbr> de uma variável.
    
    Ao declarar tipos para suas variáveis, editores e ferramentas podem oferecer um melhor suporte.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. docs/en/docs/python-types.md

    These types that have internal types are called "**generic**" types. And it's possible to declare them, even with their internal types.
    
    To declare those types and the internal types, you can use the standard Python module `typing`. It exists specifically to support these type hints.
    
    #### Newer versions of Python { #newer-versions-of-python }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. docs/es/docs/python-types.md

    ### Tipos simples { #simple-types }
    
    Puedes declarar todos los tipos estándar de Python, no solo `str`.
    
    Puedes usar, por ejemplo:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005_py39.py hl[1] *}
    
    ### Tipos genéricos con parámetros de tipo { #generic-types-with-type-parameters }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 16.4K bytes
    - Viewed (1)
  5. docs/ru/docs/python-types.md

    ### Простые типы { #simple-types }
    
    Вы можете объявлять все стандартные типы Python, не только `str`.
    
    Можно использовать, например:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    {* ../../docs_src/python_types/tutorial005_py39.py hl[1] *}
    
    ### Generic-типы с параметрами типов { #generic-types-with-type-parameters }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  6. fastapi/types.py

    import types
    from enum import Enum
    from typing import Any, Callable, Optional, TypeVar, Union
    
    from pydantic import BaseModel
    
    DecoratedCallable = TypeVar("DecoratedCallable", bound=Callable[..., Any])
    UnionType = getattr(types, "UnionType", Union)
    ModelNameMap = dict[Union[type[BaseModel], type[Enum]], str]
    IncEx = Union[set[int], set[str], dict[int, Any], dict[str, Any]]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 455 bytes
    - Viewed (0)
  7. docs/de/docs/index.md

    ## **Typer**, das FastAPI der CLIs { #typer-the-fastapi-of-clis }
    
    <a href="https://typer.tiangolo.com" target="_blank"><img src="https://typer.tiangolo.com/img/logo-margin/logo-margin-vector.svg" style="width: 20%;"></a>
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/extra-data-types.md

    * `Decimal`:
        * `Decimal` estándar de Python.
        * En requests y responses, manejado igual que un `float`.
    * Puedes revisar todos los tipos de datos válidos de Pydantic aquí: <a href="https://docs.pydantic.dev/latest/usage/types/types/" class="external-link" target="_blank">Tipos de datos de Pydantic</a>.
    
    ## Ejemplo { #example }
    
    Aquí tienes un ejemplo de una *path operation* con parámetros usando algunos de los tipos anteriores.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_custom_response/test_tutorial006.py

    from docs_src.custom_response.tutorial006_py39 import app
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/typer", follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://typer.tiangolo.com"
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1K bytes
    - Viewed (0)
  10. fastapi/_compat/v2.py

        return BodyModel
    
    
    def get_model_fields(model: type[BaseModel]) -> list[ModelField]:
        model_fields: list[ModelField] = []
        for name, field_info in model.model_fields.items():
            type_ = field_info.annotation
            if lenient_issubclass(type_, (BaseModel, dict)) or is_dataclass(type_):
                model_config = None
            else:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top