- Sort Score
- Num 10 results
- Language All
Results 531 - 540 of 3,335 for None (0.02 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/ArtifactCoordinates.java
* {@return the identifier of the artifact}. */ @Nonnull String getArtifactId(); /** * Returns the classifier of the artifact. * * @return the classifier or an empty string if none, never {@code null} */ @Nonnull String getClassifier(); /** * {@return the specific version, range of versions, or meta-version of the artifact}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 2.8K bytes - Click Count (0) -
tests/test_forms_single_model.py
from fastapi.testclient import TestClient from pydantic import BaseModel, Field app = FastAPI() class FormModel(BaseModel): username: str lastname: str age: Optional[int] = None tags: list[str] = ["foo", "bar"] alias_with: str = Field(alias="with", default="nothing") class FormModelExtraAllow(BaseModel): param: str model_config = {"extra": "allow"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 3.4K bytes - Click Count (0) -
ci/official/utilities/convert_msys_paths_to_win_paths.py
Linux-like paths MSYS uses, for example, Docker. """ import argparse import os def should_convert(var_name: str, blacklist: list[str] | None, whitelist_prefix: list[str] | None): """Check the variable name against white/black lists.""" if blacklist and var_name in blacklist: return False if not whitelist_prefix: return True
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Wed Aug 07 23:01:25 GMT 2024 - 2.5K bytes - Click Count (0) -
docs/zh/docs/tutorial/metadata.md
{* ../../docs_src/metadata/tutorial002.py hl[3] *} 如果你想完全禁用 OpenAPI 模式,可以将其设置为 `openapi_url=None`,这样也会禁用使用它的文档用户界面。 ## 文档 URLs 你可以配置两个文档用户界面,包括: * **Swagger UI**:服务于 `/docs`。 * 可以使用参数 `docs_url` 设置它的 URL。 * 可以通过设置 `docs_url=None` 禁用它。 * ReDoc:服务于 `/redoc`。 * 可以使用参数 `redoc_url` 设置它的 URL。 * 可以通过设置 `redoc_url=None` 禁用它。 例如,设置 Swagger UI 服务于 `/documentation` 并禁用 ReDoc:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.5K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java
*/ @Deprecated(since = "4.0.0") public interface ToolchainsBuildingRequest { /** * Gets the global toolchains source. * * @return The global toolchains source or {@code null} if none. */ Source getGlobalToolchainsSource(); /** * Sets the global toolchains source. If both user toolchains and a global toolchains are given, the user toolchains * take precedence. *Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 05 09:37:42 GMT 2025 - 2.3K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java
*/ boolean contains(@Nonnull Version version); /** * Returns the upper boundary of this range, or {@code null} if none. */ @Nullable Boundary getUpperBoundary(); /** * Returns the lower boundary of this range, or {@code null} if none. */ @Nullable Boundary getLowerBoundary(); /** * {@return the string representation of this version} */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/test_tutorial/test_body_fields/test_tutorial001.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6.3K bytes - Click Count (0) -
tests/test_regex_deprecated_params.py
def get_client(): app = FastAPI() with pytest.warns(FastAPIDeprecationWarning): @app.get("/items/") async def read_items( q: Annotated[str | None, Query(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}" else: return "Hello World" client = TestClient(app) return client @needs_py310
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 4.6K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial003.py
) assert response.status_code == 200 assert response.json() == { "item_id": 123, "name": "Foo", "price": 50.1, "description": None, "tax": None, } def test_put_with_no_data(client: TestClient): response = client.put("/items/123", json={}) assert response.status_code == 422 assert response.json() == { "detail": [Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 5.5K bytes - Click Count (0) -
docs/ru/docs/index.md
app = FastAPI() class Item(BaseModel): name: str price: float is_offer: Union[bool, None] = None @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/items/{item_id}") def read_item(item_id: int, q: Union[str, None] = None): return {"item_id": item_id, "q": q} @app.put("/items/{item_id}") def update_item(item_id: int, item: Item):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 11 21:25:03 GMT 2025 - 32K bytes - Click Count (0)