Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for know (0.03 seconds)

  1. scripts/translate.py

        {tab content, may span many lines}
        ////
    
    Keep everything before the vertical bar («|») as is, including the vertical bar. Translate the tab title. Translate the tab content, applying the rules you know. Keep the four block closing slashes as is.
    
    Examples:
    
        Source (English):
    
            «««
            //// tab | Python 3.8+ non-Annotated
            Hello
            ////
            »»»
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  2. fastapi/routing.py

                    """
                ),
            ] = None,
            # the generic to Lifespan[AppType] is the type of the top level application
            # which the router cannot know statically, so we use typing.Any
            lifespan: Annotated[
                Optional[Lifespan[Any]],
                Doc(
                    """
                    A `Lifespan` context manager handler. This replaces `startup` and
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  3. docs/en/docs/release-notes.md

        * The minimum version of Pydantic installed is now `pydantic >=2.7.0`.
        * The `standard` dependencies now include `pydantic-settings >=2.0.0` and `pydantic-extra-types >=2.0.0`.
    
    ### Docs
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:06:15 GMT 2025
    - 586.7K bytes
    - Click Count (0)
  4. fastapi/params.py

            decimal_places: Union[int, None] = _Unset,
            examples: Optional[list[Any]] = None,
            example: Annotated[
                Optional[Any],
                deprecated(
                    "Deprecated in OpenAPI 3.1.0 that now uses JSON Schema 2020-12, "
                    "although still supported. Use examples instead."
                ),
            ] = _Unset,
            openapi_examples: Optional[dict[str, Example]] = None,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 26.3K bytes
    - Click Count (0)
  5. .bazelrc

    # TODO(mihaimaruseac): Document this option or remove if no longer needed
    common --config=v2
    
    # Precompiling results in some action conflicts. Disable it for now until
    # the problematic targets are fixed.
    common --@rules_python//python/config_settings:precompile=force_disabled
    
    # TF now has `cc_shared_library` targets, so it needs the experimental flag
    # TODO(rostam): Remove when `cc_shared_library` is enabled by default
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Fri Dec 26 23:20:26 GMT 2025
    - 56.8K bytes
    - Click Count (0)
  6. pyproject.toml

    "docs_src/security/tutorial005_py39.py" = ["B904"]
    "docs_src/dependencies/tutorial008b_py39.py" = ["B904"]
    "docs_src/dependencies/tutorial008b_an_py39.py" = ["B904"]
    
    
    [tool.ruff.lint.isort]
    known-third-party = ["fastapi", "pydantic", "starlette"]
    
    [tool.ruff.lint.pyupgrade]
    # Preserve types, even if a file imports `from __future__ import annotations`.
    keep-runtime-typing = true
    
    [tool.inline-snapshot]
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. fastapi/param_functions.py

                Example values for this field.
                """
            ),
        ] = None,
        example: Annotated[
            Optional[Any],
            deprecated(
                "Deprecated in OpenAPI 3.1.0 that now uses JSON Schema 2020-12, "
                "although still supported. Use examples instead."
            ),
        ] = _Unset,
        openapi_examples: Annotated[
            Optional[dict[str, Example]],
            Doc(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 63K bytes
    - Click Count (0)
  8. tests/test_jsonable_encoder.py

        }
    
    
    def test_custom_encoders():
        class safe_datetime(datetime):
            pass
    
        class MyDict(TypedDict):
            dt_field: safe_datetime
    
        instance = MyDict(dt_field=safe_datetime.now())
    
        encoded_instance = jsonable_encoder(
            instance, custom_encoder={safe_datetime: lambda o: o.strftime("%H:%M:%S")}
        )
        assert encoded_instance["dt_field"] == instance["dt_field"].strftime("%H:%M:%S")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  9. fastapi/openapi/models.py

        xml: Optional[XML] = None
        externalDocs: Optional[ExternalDocumentation] = None
        example: Annotated[
            Optional[Any],
            typing_deprecated(
                "Deprecated in OpenAPI 3.1.0 that now uses JSON Schema 2020-12, "
                "although still supported. Use examples instead."
            ),
        ] = None
    
    
    # Ref: https://json-schema.org/draft/2020-12/json-schema-core.html#name-json-schema-documents
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top