Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 498 for Annotated (0.05 sec)

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

    Начиная с Python 3.9, `Annotated` входит в стандартную библиотеку, поэтому вы можете импортировать его из `typing`.
    
    {* ../../docs_src/python_types/tutorial013_py39.py hl[1,4] *}
    
    Сам Python ничего не делает с `Annotated`. А для редакторов кода и других инструментов тип по-прежнему `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. fastapi/background.py

    from typing import Annotated, Any, Callable
    
    from annotated_doc import Doc
    from starlette.background import BackgroundTasks as StarletteBackgroundTasks
    from typing_extensions import ParamSpec
    
    P = ParamSpec("P")
    
    
    class BackgroundTasks(StarletteBackgroundTasks):
        """
        A collection of background tasks that will be called after a response has been
        sent to the client.
    
        Read more about it in the
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/testing.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | 팁
    
    될 수 있으면 `Annotated` 버전 사용을 권장합나다.
    
    ///
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_py310/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | 팁
    
    될 수 있으면 `Annotated` 버전 사용을 권장합나다.
    
    ///
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java

    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The annotated element must not be null.
     * <p>
     * Annotated fields must not be null after construction has completed.
     * <p>
     * When this annotation is applied to a method it applies to the method return value.
     *
     * @see Nullable
     * @since 4.0.0
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 10 21:43:27 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. tests/test_regex_deprecated_params.py

    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, Query
    from fastapi.exceptions import FastAPIDeprecationWarning
    from fastapi.testclient import TestClient
    
    from .utils import needs_py310
    
    
    def get_client():
        app = FastAPI()
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.get("/items/")
            async def read_items(
                q: Annotated[str | None, Query(regex="^fixedquery$")] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. docs/uk/docs/tutorial/testing.md

    ```
    
    ////
    
    //// tab | Python 3.10+ non-Annotated
    
    /// tip | Порада
    
    Бажано використовувати версію з `Annotated`, якщо це можливо
    
    ///
    
    ```Python
    {!> ../../docs_src/app_testing/app_b_py310/main.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip | Порада
    
    Бажано використовувати версію з `Annotated`, якщо це можливо
    
    ///
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.9+ sin Anotaciones
    
    /// tip | Consejo
    
    Prefiere usar la versión `Annotated` si es posible.
    
    ///
    
    ```Python hl_lines="1"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/dependencies/sub-dependencies.md

    //// tab | Python 3.9+
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.9+ non-Annotated
    
    /// tip | Dica
    
    Utilize a versão com `Annotated` se possível.
    
    ///
    
    ```Python hl_lines="1"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. docs/en/docs/python-types.md

    Since Python 3.9, `Annotated` is a part of the standard library, so you can import it from `typing`.
    
    {* ../../docs_src/python_types/tutorial013_py39.py hl[1,4] *}
    
    Python itself doesn't do anything with this `Annotated`. And for editors and other tools, the type is still `str`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  10. api/maven-api-di/src/main/java/org/apache/maven/di/tool/package-info.java

     * which processes classes annotated with {@link org.apache.maven.api.di.Named} and creates an index file
     * that allows for efficient discovery of injectable components at runtime.
     * <p>
     * The generated index is stored at {@code META-INF/maven/org.apache.maven.api.di.Inject} and contains
     * the fully qualified names of all classes annotated with {@code @Named}.
     *
     * @since 4.0.0
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top