- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 913 for annotated (0.29 sec)
-
docs/de/docs/tutorial/query-params-str-validations.md
### `Query` und `Annotated` importieren Importieren Sie zuerst: * `Query` von `fastapi` * `Annotated` von `typing` (oder von `typing_extensions` in Python unter 3.9) === "Python 3.10+" In Python 3.9 oder darüber, ist `Annotated` Teil der Standardbibliothek, also können Sie es von `typing` importieren. ```Python hl_lines="1 3"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 17:58:59 UTC 2024 - 27.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DependencyInjectingInstantiatorTest.groovy
expect: instantiator.newInstance(HasPrivateConstructor, "param") != null } def "class can be package scoped"() { expect: instantiator.newInstance(PackageScopedClass) != null } def "selects annotated constructor when class has multiple constructors and only one is annotated"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 19 04:41:06 UTC 2024 - 13.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body-multiple-params.md
``` === "Python 3.10+ non-Annotated" !!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="17-19" {!> ../../../docs_src/body_multiple_params/tutorial001_py310.py!} ``` === "Python 3.8+ non-Annotated" !!! tip Prefer to use the `Annotated` version if possible. ```Python hl_lines="19-21"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Jun 09 02:01:51 UTC 2024 - 7.7K bytes - Viewed (0) -
docs/zh/docs/tutorial/header-params.md
{!> ../../../docs_src/header_params/tutorial001_an.py!} ``` === "Python 3.10+ non-Annotated" !!! tip 尽可能选择使用 `Annotated` 的版本。 ```Python hl_lines="1" {!> ../../../docs_src/header_params/tutorial001_py310.py!} ``` === "Python 3.8+ non-Annotated" !!! tip 尽可能选择使用 `Annotated` 的版本。 ```Python hl_lines="3" {!> ../../../docs_src/header_params/tutorial001.py!}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 22:42:51 UTC 2024 - 5.4K bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_an_py310.py
from typing import Annotated from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], process_after: Annotated[timedelta, Body()], repeat_at: Annotated[time | None, Body()] = None, ):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 788 bytes - Viewed (0) -
fastapi/security/http.py
from typing_extensions import Annotated, Doc class HTTPBasicCredentials(BaseModel): """ The HTTP Basic credentials given as the result of using `HTTPBasic` in a dependency. Read more about it in the [FastAPI docs for HTTP Basic Auth](https://fastapi.tiangolo.com/advanced/security/http-basic-auth/). """ username: Annotated[str, Doc("The HTTP Basic username.")]
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 15:29:38 UTC 2024 - 13.2K bytes - Viewed (0) -
docs_src/extra_data_types/tutorial001_an_py39.py
from typing import Annotated, Union from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], process_after: Annotated[timedelta, Body()], repeat_at: Annotated[Union[time, None], Body()] = None, ):
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Apr 19 00:11:40 UTC 2024 - 801 bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/troubleshooting/validation_problems.adoc
To fix this, either make the getter public, or annotate an existing getter instead, or create a new annotated getter. [[ignored_property_must_not_be_annotated]] == Annotations on ignored properties
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Mar 23 22:37:03 UTC 2024 - 21.8K bytes - Viewed (0) -
fastapi/applications.py
return func return decorator def include_router( self, router: Annotated[routing.APIRouter, Doc("The `APIRouter` to include.")], *, prefix: Annotated[str, Doc("An optional path prefix for the router.")] = "", tags: Annotated[ Optional[List[Union[str, Enum]]], Doc( """
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 00:48:03 UTC 2024 - 172.2K bytes - Viewed (0) -
docs/uk/docs/tutorial/cookie-params.md
``` === "Python 3.10+ non-Annotated" !!! tip Бажано використовувати `Annotated` версію, якщо це можливо. ```Python hl_lines="1" {!> ../../../docs_src/cookie_params/tutorial001_py310.py!} ``` === "Python 3.8+ non-Annotated" !!! tip Бажано використовувати `Annotated` версію, якщо це можливо. ```Python hl_lines="3"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Oct 17 05:59:11 UTC 2023 - 3.2K bytes - Viewed (0)