- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 1,215 for noneOf (1.04 sec)
-
docs_src/dependencies/tutorial004_py39.py
from fastapi import Depends, FastAPI app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: CommonQueryParams = Depends()): response = {}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 639 bytes - Viewed (0) -
fastapi/middleware/asyncexitstack.py
class AsyncExitStackMiddleware: def __init__( self, app: ASGIApp, context_name: str = "fastapi_middleware_astack" ) -> None: self.app = app self.context_name = context_name async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None: async with AsyncExitStack() as stack: scope[self.context_name] = stackRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 637 bytes - Viewed (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); /**
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3K bytes - Viewed (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
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 937 bytes - Viewed (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",Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Apr 12 11:17:46 UTC 2021 - 1.2K bytes - Viewed (0) -
tests/test_param_include_in_schema.py
app = FastAPI() @app.get("/hidden_cookie") async def hidden_cookie( hidden_cookie: Optional[str] = Cookie(default=None, include_in_schema=False), ): return {"hidden_cookie": hidden_cookie} @app.get("/hidden_header") async def hidden_header( hidden_header: Optional[str] = Header(default=None, include_in_schema=False), ): return {"hidden_header": hidden_header} @app.get("/hidden_path/{hidden_path}")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Mar 26 16:56:53 UTC 2024 - 7.4K bytes - Viewed (0) -
docs_src/dependencies/tutorial004_an_py39.py
from fastapi import Depends, FastAPI app = FastAPI() fake_items_db = [{"item_name": "Foo"}, {"item_name": "Bar"}, {"item_name": "Baz"}] class CommonQueryParams: def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: Annotated[CommonQueryParams, Depends()]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 660 bytes - Viewed (0) -
docs_src/background_tasks/tutorial002_an_py39.py
app = FastAPI() def write_log(message: str): with open("log.txt", mode="a") as log: log.write(message) def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None): if q: message = f"found query: {q}\n" background_tasks.add_task(write_log, message) return q @app.post("/send-notification/{email}") async def send_notification(
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 696 bytes - Viewed (0) -
cmd/object-handlers-common.go
// Do not care If-Modified-Since, Because: // 1. If If-Modified-Since condition evaluates to true. // If both of the If-None-Match and If-Modified-Since headers are present in the request as follows: // If-None-Match condition evaluates to false , and; // If-Modified-Since condition evaluates to true ; // Then Amazon S3 returns the 304 Not Modified response code.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Jul 23 12:36:06 UTC 2025 - 15.2K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/unsafeLazy.kt
*/ package org.gradle.kotlin.dsl.internal.sharedruntime.support /** * Thread unsafe version of [lazy]. * * @see LazyThreadSafetyMode.NONE */ internal
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Sun Oct 01 11:18:48 UTC 2023 - 867 bytes - Viewed (0)