- Sort Score
- Num 10 results
- Language All
Results 1811 - 1820 of 3,251 for creates (0.05 seconds)
-
tests/test_security_oauth2.py
from pydantic import BaseModel app = FastAPI() reusable_oauth2 = OAuth2( flows={ "password": { "tokenUrl": "token", "scopes": {"read:users": "Read the users", "write:users": "Create users"}, } } ) class User(BaseModel): username: str # Here we use string annotations to test them def get_current_user(oauth_header: "str" = Security(reusable_oauth2)):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9K bytes - Click Count (0) -
tests/test_security_openid_connect_optional.py
user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: Optional[User] = Depends(get_current_user)): if current_user is None: return {"msg": "Create an account first"} return current_user client = TestClient(app) def test_security_oauth2(): response = client.get("/users/me", headers={"Authorization": "Bearer footokenbar"})
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.4K bytes - Click Count (0) -
cmd/batch-expire_test.go
name: NAME # match object names that satisfy the wildcard expression. olderThan: 7d10h # match objects older than this value createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date" tags: - key: name value: pick* # match objects with tag 'name', all values starting with 'pick' metadata: - key: content-typeCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 01 12:53:30 GMT 2024 - 5.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/create/LeaseV1CreateContextResponse.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.create; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.smb2.lease.Smb2LeaseKey; import jcifs.internal.util.SMBUtil; /** * SMB2 Lease V1 Create Context Response * * MS-SMB2 2.2.14.2.10 */ public class LeaseV1CreateContextResponse implements CreateContextResponse {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 02:21:31 GMT 2025 - 2.8K bytes - Click Count (0) -
impl/maven-core/src/test/java/org/apache/maven/project/RepositoryLeakageTest.java
@Test @SuppressWarnings("checkstyle:MethodLength") public void testRepositoryLeakageBetweenSiblings() throws Exception { // Create a temporary directory structure for our test Path tempDir = Files.createTempDirectory("maven-repo-leakage-test"); try { // Create parent POM Path parentPom = tempDir.resolve("pom.xml"); Files.writeString(parentPom, """Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 9.3K bytes - Click Count (0) -
tests/test_tutorial/test_dependencies/test_tutorial007.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 642 bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractor.java
/** The authentication cache. */ protected AuthCache authCache = new BasicAuthCache(); /** The HTTP client context. */ protected HttpClientContext httpClientContext = HttpClientContext.create(); /** Map of HTTP client properties */ private final Map<String, Object> httpClientPropertyMap = new HashMap<>(); /** List of request headers */Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Mon Nov 24 03:59:47 GMT 2025 - 12.2K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/ListenableFuture.java
* <p>We encourage you to return {@code ListenableFuture} from your methods so that your users can * take advantage of the {@linkplain Futures utilities built atop the class}. The way that you will * create {@code ListenableFuture} instances depends on how you currently create {@code Future} * instances: * * <ul> * <li>If you receive them from an {@code java.util.concurrent.ExecutorService}, convert thatCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 8K bytes - Click Count (0) -
apache-maven/pom.xml
</plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <executions> <execution> <id>create-distro-packages</id> <goals> <goal>single</goal> </goals> <phase>package</phase> <configuration> <descriptors>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Nov 10 03:14:05 GMT 2025 - 12.7K bytes - Click Count (0) -
cmd/bucket-metadata_gen.go
switch msgp.UnsafeString(field) { case "Name": z.Name, err = dc.ReadString() if err != nil { err = msgp.WrapError(err, "Name") return } case "Created": z.Created, err = dc.ReadTime() if err != nil { err = msgp.WrapError(err, "Created") return } case "LockEnabled": z.LockEnabled, err = dc.ReadBool() if err != nil { err = msgp.WrapError(err, "LockEnabled") return }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 25.4K bytes - Click Count (0)