- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 642 for Fields (0.04 seconds)
-
tests/test_openapi_schema_type.py
None, ], ) def test_allowed_schema_type( type_value: Optional[Union[SchemaType, list[SchemaType]]], ) -> None: """Test that Schema accepts SchemaType, List[SchemaType] and None for type field.""" schema = Schema(type=type_value) assert schema.type == type_value def test_invalid_type_value() -> None: """Test that Schema raises ValueError for invalid type values."""Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 730 bytes - Click Count (0) -
docs/chroot/README.md
# Deploy MinIO on Chrooted Environment [](https://slack.min.io) [](https://hub.docker.com/r/minio/minio/) Chroot allows user based namespace isolation on many standard Linux deployments. ## 1. Prerequisites - Familiarity with [chroot](http://man7.org/linux/man-pages/man2/chroot.2.html) - Chroot installed on your machine.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Oct 15 17:29:55 GMT 2025 - 2.2K bytes - Click Count (0) -
docs_src/dependencies/tutorial008d_an_py39.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("We don't swallow the internal error here, we raise again ๐") raise @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Feb 24 23:06:37 GMT 2024 - 734 bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java
* to be lightweight yet powerful, supporting various scopes of object lifecycle from * singleton instances to mojo-execution-scoped beans. * <p> * Key features include: * <ul> * <li>Constructor, method, and field injection</li> * <li>Qualifiers for distinguishing between beans of the same type</li> * <li>Multiple scopes (Singleton, Session, and MojoExecution)</li> * <li>Priority-based implementation selection</li>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 896 bytes - Click Count (0) -
internal/ringbuffer/README.md
# ringbuffer
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed May 15 00:11:04 GMT 2024 - 2.1K bytes - Click Count (0) -
docs/ko/docs/tutorial/sql-databases.md
* `Field(primary_key=True)`๋ SQLModel์ `id`๊ฐ SQL ๋ฐ์ดํฐ๋ฒ ์ด์ค์ **๊ธฐ๋ณธ ํค**์์ ์๋ ค์ค๋๋ค (SQL ๊ธฐ๋ณธ ํค์ ๋ํ ์์ธํ ๋ด์ฉ์ SQLModel ๋ฌธ์๋ฅผ ์ฐธ๊ณ ํ์ธ์). `int | None` ์ ํ์ผ๋ก ์ค์ ํ๋ฉด, SQLModel์ ํด๋น ์ด์ด SQL ๋ฐ์ดํฐ๋ฒ ์ด์ค์์ `INTEGER` ์ ํ์ด๋ฉฐ `NULLABLE` ๊ฐ์ด์ด์ผ ํ๋ค๋ ๊ฒ์ ์ ์ ์์ต๋๋ค. * `Field(index=True)`๋ SQLModel์ ํด๋น ์ด์ ๋ํด **SQL ์ธ๋ฑ์ค**๋ฅผ ์์ฑํ๋๋ก ์ง์ํฉ๋๋ค. ์ด๋ฅผ ํตํด ๋ฐ์ดํฐ๋ฒ ์ด์ค์์ ์ด ์ด์ผ๋ก ํํฐ๋ง๋ ๋ฐ์ดํฐ๋ฅผ ์ฝ์ ๋ ๋ ๋น ๋ฅด๊ฒ ์กฐํํ ์ ์์ต๋๋ค.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 24 16:14:29 GMT 2024 - 18K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java
/** * There are various forms of results that are represented by this class: * <ol> * <li>success - in which case only the model field is set * <li>success with warnings - model field + non-error model problems * <li>error - no model, but diagnostics * <li>error - (partial) model and diagnostics * </ol> * Could encode these variants as subclasses, but kept in one for now *
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Mar 26 19:31:34 GMT 2025 - 6.9K bytes - Click Count (0) -
tests/test_tutorial/test_custom_docs_ui/test_tutorial002.py
static_dir: Path = Path(os.getcwd()) / "static" print(static_dir) static_dir.mkdir(exist_ok=True) from docs_src.custom_docs_ui.tutorial002_py39 import app with TestClient(app) as client: yield client static_dir.rmdir() def test_swagger_ui_html(client: TestClient): response = client.get("/docs") assert response.status_code == 200, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.2K bytes - Click Count (0) -
tests/test_tutorial/test_dependencies/test_tutorial008c.py
def test_fastapi_error(mod: ModuleType): client = TestClient(mod.app) with pytest.raises(FastAPIError) as exc_info: client.get("/items/portal-gun") assert "raising an exception and a dependency with yield" in exc_info.value.args[0] def test_internal_server_error(mod: ModuleType): client = TestClient(mod.app, raise_server_exceptions=False) response = client.get("/items/portal-gun")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1.4K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
|import static java.lang.annotation.ElementType.FIELD |import static java.lang.annotation.ElementType.LOCAL_VARIABLE |import static java.lang.annotation.ElementType.METHOD |import static java.lang.annotation.ElementType.PARAMETER | |@Retention(RetentionPolicy.CLASS) |@Target([METHOD, FIELD, PARAMETER, LOCAL_VARIABLE, ANNOTATION_TYPE])Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Jul 07 16:02:18 GMT 2024 - 8.1K bytes - Click Count (0)