Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for shard (0.03 sec)

  1. fastapi/_compat/shared.py

    Sebastián Ramírez <******@****.***> 1766840096 -0800
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  2. fastapi/_compat/__init__.py

    from .shared import PYDANTIC_V2 as PYDANTIC_V2
    from .shared import PYDANTIC_VERSION_MINOR_TUPLE as PYDANTIC_VERSION_MINOR_TUPLE
    from .shared import annotation_is_pydantic_v1 as annotation_is_pydantic_v1
    from .shared import field_annotation_is_scalar as field_annotation_is_scalar
    from .shared import is_pydantic_v1_model_class as is_pydantic_v1_model_class
    from .shared import is_pydantic_v1_model_instance as is_pydantic_v1_model_instance
    from .shared import (
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. fastapi/_compat/v2.py

        from fastapi import params
    
        return shared.field_annotation_is_scalar(
            field.field_info.annotation
        ) and not isinstance(field.field_info, params.Body)
    
    
    def is_sequence_field(field: ModelField) -> bool:
        return shared.field_annotation_is_sequence(field.field_info.annotation)
    
    
    def is_scalar_sequence_field(field: ModelField) -> bool:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_sql_databases/test_tutorial001.py

            )
            assert response.status_code == 200, response.text
            response = client.post(
                "/heroes/", json={"name": "Rusty-Man", "secret_name": "Tommy Sharp"}
            )
            assert response.status_code == 200, response.text
    
            response = client.get("/heroes/")
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. tests/test_compat.py

    from typing import Union
    
    from fastapi import FastAPI, UploadFile
    from fastapi._compat import (
        Undefined,
        is_uploadfile_sequence_annotation,
    )
    from fastapi._compat.shared import is_bytes_sequence_annotation
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict
    from pydantic.fields import FieldInfo
    
    from .utils import needs_py310
    
    
    def test_model_field_default_required():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. docs/zh-hant/llm-prompt.md

    - path operation: 路徑操作
    - path operation function: 路徑操作函式
    
    The translation can optionally include the original English text only in the first occurrence of each page (e.g. "路徑操作 (path operation)") if the translation is hard to be comprehended by most of the Chinese readers.
    
    ### `///` admonitions
    
    1) Keep the admonition keyword in English (do not translate `note`, `tip`, etc.).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:49:46 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            )
            assert response.status_code == 200, response.text
            response = client.post(
                "/heroes/", json={"name": "Rusty-Man", "secret_name": "Tommy Sharp"}
            )
            assert response.status_code == 200, response.text
    
            response = client.get("/heroes/")
            assert response.status_code == 200, response.text
            assert response.json() == snapshot(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

    * 🌐 Add Korean translation for `docs/ko/docs/tutorial/header-param-models.md`. PR [#13001](https://github.com/fastapi/fastapi/pull/13001) by [@hard-coders](https://github.com/hard-coders).
    * 🌐 Add Korean translation for `docs/ko/docs/tutorial/request-form-models.md`. PR [#13002](https://github.com/fastapi/fastapi/pull/13002) by [@hard-coders](https://github.com/hard-coders).
    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