- Sort Score
- Result 10 results
- Languages All
Results 251 - 260 of 2,341 for get3 (0.07 sec)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
"$baseVersion-rc-${rcNumber.get()}" } milestoneNumber.isPresent -> { "$baseVersion-milestone-${milestoneNumber.get()}" } versionQualifier.isPresent -> { "$baseVersion-${versionQualifier.get()}-${buildTimestamp.get()}" } else -> { "$baseVersion-${buildTimestamp.get()}" } }
Registered: Wed Oct 30 11:36:09 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 4.9K bytes - Viewed (0) -
docs/pl/docs/tutorial/first-steps.md
```Python hl_lines="6" {!../../docs_src/first_steps/tutorial001.py!} ``` `@app.get("/")` mówi **FastAPI** że funkcja poniżej odpowiada za obsługę żądań, które trafiają do: * ścieżki `/` * używając <abbr title="metoda HTTP GET">operacji <code>get</code></abbr> /// info | "`@decorator` Info" Składnia `@something` jest w Pythonie nazywana "dekoratorem".
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.8K bytes - Viewed (0) -
tests/test_security_http_base.py
app = FastAPI() security = HTTPBase(scheme="Other") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_base(): response = client.get("/users/me", headers={"Authorization": "Other foobar"})
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.7K bytes - Viewed (0) -
tests/test_required_noneable.py
def test_required_nonable_query_invalid(): response = client.get("/query") assert response.status_code == 422 def test_required_noneable_query_value(): response = client.get("/query", params={"q": "foo"}) assert response.status_code == 200 assert response.json() == "foo" def test_required_nonable_explicit_query_invalid(): response = client.get("/explicit-query") assert response.status_code == 422
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sat May 14 19:08:31 UTC 2022 - 1.5K bytes - Viewed (0) -
internal/config/subnet/config.go
var proxyURL *xnet.URL proxy := env.Get(config.EnvMinIOSubnetProxy, kvs.Get(config.Proxy)) if len(proxy) > 0 { proxyURL, err = xnet.ParseHTTPURL(proxy) if err != nil { return cfg, err } } cfg.License = strings.TrimSpace(env.Get(config.EnvMinIOSubnetLicense, kvs.Get(config.License))) cfg.APIKey = strings.TrimSpace(env.Get(config.EnvMinIOSubnetAPIKey, kvs.Get(config.APIKey))) cfg.Proxy = proxy
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(crawlerContext.getSessionId()); final Map<String, String> clientConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.CLIENT); final String value = clientConfigMap.get(CRAWLER_CLIENTS); final CrawlerClient client = getClientRuleList(value).stream().map(e -> {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0) -
cmd/bucket-policy.go
type PolicySys struct{} // Get returns stored bucket policy func (sys *PolicySys) Get(bucket string) (*policy.BucketPolicy, error) { policy, _, err := globalBucketMetadataSys.GetPolicyConfig(bucket) return policy, err } // IsAllowed - checks given policy args is allowed to continue the Rest API. func (sys *PolicySys) IsAllowed(args policy.BucketPolicyArgs) bool { p, err := sys.Get(args.BucketName) if err == nil {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial001_an_py39.py
@needs_py39 def test_no_token(client: TestClient): response = client.get("/items") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" @needs_py39 def test_token(client: TestClient): response = client.get("/items", headers={"Authorization": "Bearer testtoken"})
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
docs_src/sql_databases/tutorial001_an.py
return hero @app.get("/heroes/") def read_heroes( session: SessionDep, offset: int = 0, limit: Annotated[int, Query(le=100)] = 100, ) -> List[Hero]: heroes = session.exec(select(Hero).offset(offset).limit(limit)).all() return heroes @app.get("/heroes/{hero_id}") def read_hero(hero_id: int, session: SessionDep) -> Hero: hero = session.get(Hero, hero_id) if not hero:
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Wed Oct 09 19:44:42 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial003.py
def test_no_token(): response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_token(): response = client.get("/users/me", headers={"Authorization": "Bearer johndoe"}) assert response.status_code == 200, response.text
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 8K bytes - Viewed (0)