- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 349 for unionOf (0.05 seconds)
-
fastapi/security/api_key.py
scheme_name: Union[str, None], auto_error: bool, ): self.auto_error = auto_error self.model: APIKey = APIKey( **{"in": location}, name=name, description=description, ) self.scheme_name = scheme_name or self.__class__.__name__ def make_not_authenticated_error(self) -> HTTPException: """Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 9.6K bytes - Click Count (1) -
README.md
## Example ### Create it Create a file `main.py` with: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @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} ``` <details markdown="1">
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 25 11:01:37 GMT 2025 - 26.4K bytes - Click Count (0) -
guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
this.selfLoopCount = checkNonNegative(selfLoopCount); checkState(selfLoopCount <= inEdgeMap.size() && selfLoopCount <= outEdgeMap.size()); } @Override public Set<N> adjacentNodes() { return Sets.union(predecessors(), successors()); } @Override public Set<E> incidentEdges() { return new AbstractSet<E>() { @Override public UnmodifiableIterator<E> iterator() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.5K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java
import static org.eclipse.aether.impl.scope.BuildScopeQuery.select; import static org.eclipse.aether.impl.scope.BuildScopeQuery.singleton; import static org.eclipse.aether.impl.scope.BuildScopeQuery.union; /** * Maven4 scope configurations. Configures scope manager to support Maven4 scopes. * <p> * This manager supports all the new Maven 4 dependency scopes defined in {@link DependencyScope}. * * @since 2.0.0Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 9.2K bytes - Click Count (0) -
docs/uk/docs/tutorial/response-model.md
{* ../../docs_src/response_model/tutorial003_04_py310.py hl[8] *} ...це не працює, тому що тип анотації не є типом Pydantic і не є просто класом `Response` або його підкласом, а є об’єднанням (union) — або `Response`, або `dict`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Jun 24 19:14:01 GMT 2025 - 24.8K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/netdfs.idl
typedef struct { uint32_t flags; [string] wchar_t *dfs_name; } DfsInfo300; typedef struct { uint32_t count; [size_is(count)] DfsInfo300 *s; } DfsEnumArray300; typedef union { [case(1)] DfsEnumArray1 *info1; [case(3)] DfsEnumArray3 *info3; [case(200)] DfsEnumArray200 *info200; [case(300)] DfsEnumArray300 *info300; } DfsEnumInfo; typedef struct { uint32_t level,Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 1.7K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven3ScopeManagerConfiguration.java
import static org.eclipse.aether.impl.scope.BuildScopeQuery.select; import static org.eclipse.aether.impl.scope.BuildScopeQuery.singleton; import static org.eclipse.aether.impl.scope.BuildScopeQuery.union; /** * Maven3 scope configurations. Configures scope manager to support Maven3 scopes. * <p> * This manager supports the old Maven 3 dependency scopes. * * @since 2.0.0
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 7.7K bytes - Click Count (0) -
docs/en/docs/index.md
### Create it { #create-it } Create a file `main.py` with: ```Python from typing import Union from fastapi import FastAPI app = FastAPI() @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} ``` <details markdown="1">Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Thu Dec 25 11:01:37 GMT 2025 - 23.5K bytes - Click Count (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl
POLICY_INFO_PRIMARY_DOMAIN = 3, POLICY_INFO_ACCOUNT_DOMAIN = 5, POLICY_INFO_SERVER_ROLE = 6, POLICY_INFO_MODIFICATION = 9, POLICY_INFO_DNS_DOMAIN = 12 }; typedef [switch_type(short)] union { [case(POLICY_INFO_ACCOUNT_DOMAIN)] LsarDomainInfo account_domain; [case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain; } LsarPolicyInfo; typedef struct { sid_t *sid; } LsarSidPtr;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 3.1K bytes - Click Count (3) -
src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl
POLICY_INFO_PRIMARY_DOMAIN = 3, POLICY_INFO_ACCOUNT_DOMAIN = 5, POLICY_INFO_SERVER_ROLE = 6, POLICY_INFO_MODIFICATION = 9, POLICY_INFO_DNS_DOMAIN = 12 }; typedef [switch_type(short)] union { [case(POLICY_INFO_ACCOUNT_DOMAIN)] LsarDomainInfo account_domain; [case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain; } LsarPolicyInfo; typedef struct { sid_t *sid; } LsarSidPtr;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Fri Mar 22 20:39:42 GMT 2019 - 3.1K bytes - Click Count (0)