- Sort Score
- Num 10 results
- Language All
Results 551 - 560 of 946 for wait (0.31 seconds)
-
docs/en/docs/tutorial/body-multiple-params.md
The same way there is a `Query` and `Path` to define extra data for query and path parameters, **FastAPI** provides an equivalent `Body`. For example, extending the previous model, you could decide that you want to have another key `importance` in the same body, besides the `item` and `user`. If you declare it as is, because it is a singular value, **FastAPI** will assume that it is a query parameter.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 12:58:04 GMT 2025 - 4.9K bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial003_py39.py
original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: before = time.time() response: Response = await original_route_handler(request) duration = time.time() - before response.headers["X-Response-Time"] = str(duration) print(f"route duration: {duration}")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1K bytes - Click Count (0) -
docs_src/path_operation_advanced_configuration/tutorial007_pv1_py39.py
"requestBody": { "content": {"application/x-yaml": {"schema": Item.schema()}}, "required": True, }, }, ) async def create_item(request: Request): raw_body = await request.body() try: data = yaml.safe_load(raw_body) except yaml.YAMLError: raise HTTPException(status_code=422, detail="Invalid YAML") try: item = Item.parse_obj(data)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 767 bytes - Click Count (0) -
docs_src/path_operation_advanced_configuration/tutorial007_py39.py
"requestBody": { "content": {"application/x-yaml": {"schema": Item.model_json_schema()}}, "required": True, }, }, ) async def create_item(request: Request): raw_body = await request.body() try: data = yaml.safe_load(raw_body) except yaml.YAMLError: raise HTTPException(status_code=422, detail="Invalid YAML") try: item = Item.model_validate(data)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 797 bytes - Click Count (0) -
docs/en/docs/reference/dependencies.md
```python from fastapi import Depends ``` ::: fastapi.Depends ## `Security()` For many scenarios, you can handle security (authorization, authentication, etc.) with dependencies, using `Depends()`. But when you want to also declare OAuth2 scopes, you can use `Security()` instead of `Depends()`. You can import `Security()` directly from `fastapi`: ```python from fastapi import Security ```
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 671 bytes - Click Count (0) -
.github/workflows/issue-on-pr-rollback.yml
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Dec 01 09:57:00 GMT 2025 - 1.5K bytes - Click Count (0) -
ci/official/requirements_updater/numpy1_requirements/requirements.in
astor == 0.7.1 typing_extensions ~= 4.14.1 gast == 0.4.0 termcolor == 2.3.0 wrapt == 1.16.0 tblib == 2.0.0 ml_dtypes >= 0.5.1, < 0.6.0 auditwheel >= 6.1.0 # Install tensorboard, and keras # Note that here we want the latest version that matches TF major.minor version # Note that we must use nightly here as these are used in nightly jobs # For release jobs, we will pin these on the release branch keras-nightly ~= 3.10.0.dev
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Oct 15 20:30:40 GMT 2025 - 1.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java
/** * Sort a list of projects. * <ul> * <li>collect all the vertices for the projects that we want to build.</li> * <li>iterate through the deps of each project and if that dep is within * the set of projects we want to build then add an edge, otherwise throw * the edge away because that dependency is not within the set of projectsCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 10.3K bytes - Click Count (0) -
docs/ko/docs/advanced/async-tests.md
{* ../../docs_src/async_tests/test_main.py hl[7] *} /// tip | 팁 테스트 함수가 이제 `TestClient`를 사용할 때처럼 단순히 `def`가 아니라 `async def`로 작성된 점에 주목해주세요. /// 그 다음에 `AsyncClient` 로 앱을 만들고 비동기 요청을 `await` 키워드로 보낼 수 있습니다: {* ../../docs_src/async_tests/test_main.py hl[9:12] *} 위의 코드는: ```Python response = client.get('/') ``` `TestClient` 에 요청을 보내던 것과 동일합니다. /// tip | 팁Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 10 11:03:16 GMT 2024 - 4.7K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
disabledChecks.addAll( // DISCUSS "EnumOrdinal", // This violation is ubiquitous, though most are benign. "EqualsGetClass", // Let's agree if we want to adopt Error Prone's idea of valid equals() "JdkObsolete", // Most of the checks are good, but we do not want to replace all LinkedLists without a good reason // NEVER "AssignmentExpression", // Not using it is more a matter of taste.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Oct 01 11:57:43 GMT 2025 - 9.3K bytes - Click Count (0)