- Sort Score
- Num 10 results
- Language All
Results 181 - 190 of 542 for Annotated (0.06 seconds)
-
android/guava-tests/test/com/google/common/base/AndroidIncompatible.java
/** * Signifies that a test should not be run under Android. This annotation is respected only by our * Google-internal Android suite generators. Note that those generators also suppress any test * annotated with LargeTest. * * <p>Why use a custom annotation instead of {@code android.test.suitebuilder.annotation.Suppress}? * I'm not completely sure that this is the right choice, but it has various advantages: * * <ul>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 07 15:40:13 GMT 2023 - 3.9K bytes - Click Count (0) -
.idea/inspectionProfiles/Gradle.xml
</replaceConfiguration>
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Jun 26 21:49:47 GMT 2024 - 15.4K bytes - Click Count (0) -
tests/test_regex_deprecated_body.py
from typing import Annotated import pytest from fastapi import FastAPI, Form from fastapi.exceptions import FastAPIDeprecationWarning from fastapi.testclient import TestClient from inline_snapshot import snapshot from .utils import needs_py310 def get_client(): app = FastAPI() with pytest.warns(FastAPIDeprecationWarning): @app.post("/items/") async def read_items(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 14:34:02 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/en/docs/advanced/using-request-directly.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 2.3K bytes - Click Count (0) -
docs/zh-hant/docs/python-types.md
Python 也有一個功能,允許使用 `Annotated` 在這些型別提示中放入額外的<dfn title="關於資料的資料;在此情境下,是關於型別的資訊,例如描述。">中繼資料</dfn>。 你可以從 `typing` 匯入 `Annotated`。 {* ../../docs_src/python_types/tutorial013_py310.py hl[1,4] *} Python 本身不會對這個 `Annotated` 做任何事。對編輯器與其他工具而言,該型別仍然是 `str`。 但你可以利用 `Annotated` 這個空間,來提供 **FastAPI** 額外的中繼資料,告訴它你希望應用程式如何運作。 重要的是要記住,傳給 `Annotated` 的「第一個型別參數」才是「真正的型別」。其餘的,都是給其他工具用的中繼資料。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 10.7K bytes - Click Count (0) -
fastapi/_compat/shared.py
import types import typing import warnings from collections import deque from collections.abc import Mapping, Sequence from dataclasses import is_dataclass from typing import ( Annotated, Any, TypeGuard, TypeVar, Union, get_args, get_origin, ) from fastapi.types import UnionType from pydantic import BaseModel from pydantic.version import VERSION as PYDANTIC_VERSION
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 11 18:32:12 GMT 2026 - 6.9K bytes - Click Count (0) -
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 inline_snapshot import snapshot from .utils import needs_py310 def get_client(): app = FastAPI() with pytest.warns(FastAPIDeprecationWarning): @app.get("/items/") async def read_items(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 5.1K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py
# Ref: https://github.com/fastapi/fastapi/issues/14454 from typing import Annotated from fastapi import APIRouter, Depends, FastAPI, Security from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient from inline_snapshot import snapshot oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", auto_error=True,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 6.6K bytes - Click Count (0) -
api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nullable.java
* under the License. */ package org.apache.maven.api.annotations; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * The annotated element can be {@code null}. * * @see Nonnull * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.RUNTIME)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 10 21:43:27 GMT 2024 - 1.1K bytes - Click Count (0) -
docs/zh/docs/python-types.md
Python 还提供了一个特性,可以使用 `Annotated` 在这些类型提示中放入额外的<dfn title="关于数据的数据,此处指关于类型的信息,例如描述。">元数据</dfn>。 你可以从 `typing` 导入 `Annotated`。 {* ../../docs_src/python_types/tutorial013_py310.py hl[1,4] *} Python 本身不会对这个 `Annotated` 做任何处理。对于编辑器和其他工具,类型仍然是 `str`。 但你可以在 `Annotated` 中为 **FastAPI** 提供额外的元数据,来描述你希望应用如何行为。 重要的是要记住:传给 `Annotated` 的第一个类型参数才是实际类型。其余的只是给其他工具用的元数据。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 10.6K bytes - Click Count (0)