- Sort Score
- Num 10 results
- Language All
Results 451 - 460 of 1,637 for noen (0.04 seconds)
-
docs_src/custom_docs_ui/tutorial002_py310.py
from fastapi import FastAPI from fastapi.openapi.docs import ( get_redoc_html, get_swagger_ui_html, get_swagger_ui_oauth2_redirect_html, ) from fastapi.staticfiles import StaticFiles app = FastAPI(docs_url=None, redoc_url=None) app.mount("/static", StaticFiles(directory="static"), name="static") @app.get("/docs", include_in_schema=False) async def custom_swagger_ui_html(): return get_swagger_ui_html(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.1K bytes - Click Count (0) -
docs_src/dependencies/tutorial013_an_py310.py
from sqlmodel import Field, Session, SQLModel, create_engine engine = create_engine("postgresql+psycopg://postgres:postgres@localhost/db") class User(SQLModel, table=True): id: int | None = Field(default=None, primary_key=True) name: str app = FastAPI() def get_session(): with Session(engine) as session: yield session
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Sep 29 03:29:38 GMT 2025 - 937 bytes - Click Count (0) -
arm_compiler.BUILD
"lib/gcc/arm-rpi-linux-gnueabihf/**", "include/**", ]), ) filegroup( name = "aarch64_compiler_pieces", srcs = glob([ "aarch64-none-linux-gnu/**", "libexec/**", "lib/gcc/aarch64-none-linux-gnu/**", "include/**", ]), ) filegroup( name = "compiler_components", srcs = [ ":ar", ":as", ":gcc",Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Apr 12 11:17:46 GMT 2021 - 1.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactStatus.java
* */ @Deprecated public final class ArtifactStatus implements Comparable<ArtifactStatus> { /** * No trust - no information about status. */ public static final ArtifactStatus NONE = new ArtifactStatus("none", 0); /** * No trust - information was generated with defaults. */ public static final ArtifactStatus GENERATED = new ArtifactStatus("generated", 1); /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3K bytes - Click Count (0) -
docs/en/docs/python-types.md
``` This means that `item` could be an `int` or a `str`. #### Possibly `None` { #possibly-none } You can declare that a value could have a type, like `str`, but that it could also be `None`. //// tab | Python 3.10+ ```Python hl_lines="1" {!> ../../docs_src/python_types/tutorial009_py310.py!} ``` ////Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 11K bytes - Click Count (0) -
docs/zh/docs/tutorial/response-model.md
在这种情况下,你可以通过设置 `response_model=None` 来禁用响应模型生成: {* ../../docs_src/response_model/tutorial003_05_py310.py hl[7] *} 这会让 FastAPI 跳过响应模型的生成,这样你就可以按需使用任意返回类型注解,而不会影响你的 FastAPI 应用。🤓 ## 响应模型的编码参数 { #response-model-encoding-parameters } 你的响应模型可以具有默认值,例如: {* ../../docs_src/response_model/tutorial004_py310.py hl[9,11:12] *} * `description: Union[str, None] = None`(或在 Python 3.10 中的 `str | None = None`)默认值为 `None`。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 14.5K bytes - Click Count (0) -
docs_src/dataclasses_/tutorial003_py310.py
from dataclasses import field # (1) from fastapi import FastAPI from pydantic.dataclasses import dataclass # (2) @dataclass class Item: name: str description: str | None = None @dataclass class Author: name: str items: list[Item] = field(default_factory=list) # (3) app = FastAPI() @app.post("/authors/{author_id}/items/", response_model=Author) # (4)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 1.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/CharsetsTest.java
@J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16be() { assertThat(Charsets.UTF_16BE).isEqualTo(Charset.forName("UTF-16BE")); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16le() { assertThat(Charsets.UTF_16LE).isEqualTo(Charset.forName("UTF-16LE")); } @J2ktIncompatible @GwtIncompatible // Non-UTF-8 Charset public void testUtf16() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 12:37:39 GMT 2026 - 2.6K bytes - Click Count (0) -
android/guava/src/com/google/common/math/StatsAccumulator.java
* Consequently: * 1. If the previous mean is finite and the new value is non-finite then the new mean is that * value (whether it is NaN or infinity). * 2. If the new value is finite and the previous mean is non-finite then the mean is unchanged * (whether it is NaN or infinity). * 3. If both the previous mean and the new value are non-finite and...Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 16:36:11 GMT 2025 - 15.8K bytes - Click Count (0) -
docs/uk/docs/how-to/separate-openapi-schemas.md
</div> Це означає, що воно **завжди матиме значення** - просто іноді це значення може бути `None` (або `null` у JSON). Отже, клієнтам, які використовують ваш API, не потрібно перевіряти, чи існує значення - вони можуть **припустити, що поле завжди буде присутнє**, але в окремих випадках воно матиме значення за замовчуванням `None`. У OpenAPI це описується тим, що поле позначається як **обов'язкове**, адже воно завжди присутнє.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:43:14 GMT 2026 - 6.7K bytes - Click Count (0)