- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 996 for optional (0.05 sec)
-
tests/test_security_api_key_cookie_optional.py
from typing import Optional from fastapi import Depends, FastAPI, Security from fastapi.security import APIKeyCookie from fastapi.testclient import TestClient from pydantic import BaseModel app = FastAPI() api_key = APIKeyCookie(name="key", auto_error=False) class User(BaseModel): username: str def get_current_user(oauth_header: Optional[str] = Security(api_key)): if oauth_header is None: return None
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 19:43:49 UTC 2024 - 17.9K bytes - Viewed (0) -
docs_src/separate_openapi_schemas/tutorial001_py39.py
from typing import Optional from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: Optional[str] = None app = FastAPI() @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 483 bytes - Viewed (0) -
common-protos/k8s.io/apimachinery/pkg/apis/meta/v1beta1/generated.proto
// Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds // +optional optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 2; // items contains each of the included items. repeated k8s.io.apimachinery.pkg.apis.meta.v1.PartialObjectMetadata items = 1;
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 1.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java
*/ package org.apache.maven.api.services; import java.io.Closeable; import java.net.URI; import java.nio.charset.Charset; import java.nio.charset.StandardCharsets; import java.nio.file.Path; import java.util.Optional; import org.apache.maven.api.RemoteRepository; import org.apache.maven.api.annotations.Consumer; import org.apache.maven.api.annotations.Experimental; import org.apache.maven.api.annotations.Nonnull; /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 4.4K bytes - Viewed (0) -
internal/config/callhome/help.go
Type: "on|off", Description: "set to enable callhome" + defaultHelpPostfix(Enable), Optional: true, }, config.HelpKV{ Key: Frequency, Type: "duration", Description: "time duration between callhome cycles e.g. 24h" + defaultHelpPostfix(Frequency), Optional: true, }, }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 06 23:14:52 UTC 2022 - 1.4K bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-b-1.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t05-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 622 bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/maven-test/poms/t06-b-1.1.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 622 bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t07/maven-test/poms/t07-b-1.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t07-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>true</optional> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 621 bytes - Viewed (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t07/maven-test/poms/t07-b-1.1.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t07-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>true</optional> </dependency> </dependencies>
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 621 bytes - Viewed (0)