- Sort Score
- Result 10 results
- Languages All
Results 491 - 500 of 1,322 for tuning (0.09 sec)
-
tests/test_security_oauth2_authorization_code_bearer_description.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security import OAuth2AuthorizationCodeBearer from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2AuthorizationCodeBearer( authorizationUrl="authorize", tokenUrl="token", description="OAuth2 Code Bearer", auto_error=True, ) @app.get("/items/")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.4K bytes - Viewed (0) -
tests/test_security_oauth2_password_bearer_optional.py
from typing import Optional from fastapi import FastAPI, Security from fastapi.security import OAuth2PasswordBearer from fastapi.testclient import TestClient app = FastAPI() oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/token", auto_error=False) @app.get("/items/") async def read_items(token: Optional[str] = Security(oauth2_scheme)): if token is None: return {"msg": "Create an account first"} return {"token": token}
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/TearDownAccepter.java
/** * Registers a TearDown implementor which will be run after the test proper. * * <p>In JUnit4 language, that means as an {@code @After}. * * <p>In JUnit3 language, that means during the {@link junit.framework.TestCase#tearDown()} step. */ void addTearDown(TearDown tearDown);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 19:22:18 UTC 2023 - 1.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/TearDownAccepter.java
/** * Registers a TearDown implementor which will be run after the test proper. * * <p>In JUnit4 language, that means as an {@code @After}. * * <p>In JUnit3 language, that means during the {@link junit.framework.TestCase#tearDown()} step. */ void addTearDown(TearDown tearDown);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 19:22:18 UTC 2023 - 1.3K bytes - Viewed (0) -
common-protos/k8s.io/api/authorization/v1beta1/generated.proto
// SelfSubjectRulesReview enumerates the set of actions the current user can perform within a namespace. // The returned list of actions may be incomplete depending on the server's authorization mode, // and any errors experienced during the evaluation. SelfSubjectRulesReview should be used by UIs to show/hide actions, // or to quickly let an end user reason about their permissions. It should NOT Be used by external systems to
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 11.9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.24.md
`docker` service from kubeadm preflight. Docker is no longer special cased during host validation and ideally this task should be done in the now external cri-dockerd project where the importance of the compatibility matters. Use `crictl` for all communication with CRI sockets for actions like pulling images and obtaining a list of running containers instead of using the docker CLI in the case of Docker. ([#107317](https://github.com/kubernetes/kubernetes/pull/107317), [@neolit123](https://github.com/neolit123))...
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu Aug 24 00:02:43 UTC 2023 - 473.4K bytes - Viewed (0) -
helm-releases/minio-3.6.4.tgz
persistence.enabled=false minio/minio ``` > *"An emptyDir volume is first created when a Pod is assigned to a Node, and exists as long as that Pod is running on that node. When a Pod is removed from a node for any reason, the data in the emptyDir is deleted forever."* ### Existing PersistentVolumeClai If a Persistent Volume Claim already exists, specify it during installation. 1. Create the PersistentVolume 2. Create the PersistentVolumeClai 3. Install the chart ```bash helm install --set persistence.ex...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Apr 12 01:30:28 UTC 2022 - 17.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
// this should never happen since we checked all possible error sources before but better be sure if (result.hasExceptions()) { throw new ArtifactResolutionException( "Unknown error during artifact resolution, " + request + ", " + result.getExceptions(), request.getArtifact(), request.getRemoteRepositories()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
val DslContext.uuidPrefix: String get() = settingsRoot.id.toString().substringAfter("Gradle") data class VersionedSettingsBranch(val branchName: String) { /** * 0~23. * To avoid nightly promotion jobs running at the same time, * we run each branch on different hours. * master - 0:00 * release - 1:00 * release6x - 2:00 * release7x - 3:00 * ... * releaseNx - (N-4):00 */
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 26 12:59:03 UTC 2024 - 3.2K bytes - Viewed (0) -
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)