Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for typos (0.02 sec)

  1. docs/en/docs/release-notes.md

    ### Docs
    
    * ✏ Fix a simple typo in `docs/en/docs/python-types.md`. PR [#5193](https://github.com/tiangolo/fastapi/pull/5193) by [@GlitchingCore](https://github.com/GlitchingCore).
    * ✏ Fix typos in `tests/test_schema_extra_examples.py`. PR [#5126](https://github.com/tiangolo/fastapi/pull/5126) by [@supraaxdd](https://github.com/supraaxdd).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  2. requirements-tests.txt

    flask >=1.1.2,<4.0.0
    strawberry-graphql >=0.200.0,< 1.0.0
    anyio[trio] >=3.2.1,<5.0.0
    PyJWT==2.9.0
    pyyaml >=5.3.1,<7.0.0
    pwdlib[argon2] >=0.2.1
    inline-snapshot>=0.21.1
    pytest-codspeed==4.2.0
    # types
    types-ujson ==5.10.0.20240515
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 394 bytes
    - Viewed (0)
  3. fastapi/_compat/shared.py

    # Copy from Pydantic v2, compatible with v1
    if sys.version_info < (3, 10):
        WithArgsTypes: tuple[Any, ...] = (typing._GenericAlias, types.GenericAlias)  # type: ignore[attr-defined]
    else:
        WithArgsTypes: tuple[Any, ...] = (
            typing._GenericAlias,  # type: ignore[attr-defined]
            types.GenericAlias,
            types.UnionType,
        )  # pyright: ignore[reportAttributeAccessIssue]
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. tests/test_compat.py

        # TODO: in theory this would allow declaring types that could be lists of bytes
        # to be read from files and other types, but I'm not even sure it's a good idea
        # to support it as a first class "feature"
        assert is_bytes_sequence_annotation(Union[list[str], list[bytes]])
    
    
    def test_is_uploadfile_sequence_annotation():
        # For coverage
        # TODO: in theory this would allow declaring types that could be lists of UploadFile
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. docs/es/docs/advanced/dataclasses.md

    <img src="/img/tutorial/dataclasses/image01.png">
    
    ## Dataclasses en Estructuras de Datos Anidadas { #dataclasses-in-nested-data-structures }
    
    También puedes combinar `dataclasses` con otras anotaciones de tipos para crear estructuras de datos anidadas.
    
    En algunos casos, todavía podrías tener que usar la versión de `dataclasses` de Pydantic. Por ejemplo, si tienes errores con la documentación de la API generada automáticamente.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. pyproject.toml

        "email-validator >=2.0.0",
        # Uvicorn with uvloop
        "uvicorn[standard] >=0.12.0",
        # # Settings management
        "pydantic-settings >=2.0.0",
        # # Extra Pydantic data types
        "pydantic-extra-types >=2.0.0",
    ]
    
    standard-no-fastapi-cloud-cli = [
        "fastapi-cli[standard-no-fastapi-cloud-cli] >=0.0.8",
        # For the test client
        "httpx >=0.23.0,<1.0.0",
        # For templates
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. docs/es/docs/how-to/graphql.md

    /// tip | Consejo
    
    Si necesitas GraphQL, aún te recomendaría revisar <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a>, ya que se basa en anotaciones de tipos en lugar de clases y tipos personalizados.
    
    ///
    
    ## Aprende Más { #learn-more }
    
    Puedes aprender más sobre **GraphQL** en la <a href="https://graphql.org/" class="external-link" target="_blank">documentación oficial de GraphQL</a>.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  8. .pre-commit-config.yaml

            require_serial: true
            language: unsupported
            types: [python]
    
          - id: local-ruff-format
            name: ruff format
            entry: uv run ruff format --force-exclude --exit-non-zero-on-format
            require_serial: true
            language: unsupported
            types: [python]
    
          - id: add-permalinks-pages
            language: unsupported
            name: add-permalinks-pages
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 11:36:58 UTC 2025
    - 1.8K bytes
    - Viewed (1)
  9. tests/test_tutorial/test_dependencies/test_tutorial008.py

    import importlib
    from types import ModuleType
    from typing import Annotated, Any
    from unittest.mock import Mock, patch
    
    import pytest
    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    
    @pytest.fixture(
        name="module",
        params=[
            "tutorial008_py39",
            # Fails with `NameError: name 'DepA' is not defined`
            pytest.param("tutorial008_an_py39", marks=pytest.mark.xfail),
        ],
    )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_python_types/test_tutorial009_tutorial009b.py

    import importlib
    from types import ModuleType
    from unittest.mock import patch
    
    import pytest
    
    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="module",
        params=[
            pytest.param("tutorial009_py39"),
            pytest.param("tutorial009_py310", marks=needs_py310),
            pytest.param("tutorial009b_py39"),
        ],
    )
    def get_module(request: pytest.FixtureRequest):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 805 bytes
    - Viewed (0)
Back to top