- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 491 for quiser (0.06 sec)
-
docs_src/body_multiple_params/tutorial003_py310.py
description: str | None = None price: float tax: float | None = None class User(BaseModel): username: str full_name: str | None = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, user: User, importance: int = Body()): results = {"item_id": item_id, "item": item, "user": user, "importance": importance}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 504 bytes - Viewed (0) -
tests/test_security_api_key_cookie.py
from pydantic import BaseModel app = FastAPI() api_key = APIKeyCookie(name="key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user def test_security_api_key():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1.9K bytes - Viewed (0) -
tests/test_security_api_key_cookie_description.py
app = FastAPI() api_key = APIKeyCookie(name="key", description="An API Cookie Key") class User(BaseModel): username: str def get_current_user(oauth_header: str = Security(api_key)): user = User(username=oauth_header) return user @app.get("/users/me") def read_current_user(current_user: User = Depends(get_current_user)): return current_user def test_security_api_key():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.1K bytes - Viewed (0) -
tests/test_dependency_normal_exceptions.py
raise finally: state["finally"] = True @app.put("/invalid-user/{user_id}") def put_invalid_user( user_id: str, name: str = Body(), db: dict = Depends(get_database) ): db[user_id] = name raise HTTPException(status_code=400, detail="Invalid user") @app.put("/user/{user_id}") def put_user(user_id: str, name: str = Body(), db: dict = Depends(get_database)): db[user_id] = name
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Feb 24 23:06:37 UTC 2024 - 1.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java
import org.gradle.api.file.DirectoryProperty; /** * Configuration for user manual documentation */ public abstract class UserManual { /** * The root of the user manual documentation. This is the source of the adoc files. */ public abstract DirectoryProperty getRoot(); /** * Source of snippets that can be inserted into the user manual */ public abstract DirectoryProperty getSnippets();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/cbean/bs/BsRoleCB.java
*/ package org.codelibs.fess.es.user.cbean.bs; import java.util.ArrayList; import java.util.List; import java.util.Map; import org.codelibs.fess.es.user.allcommon.EsAbstractConditionBean; import org.codelibs.fess.es.user.bsentity.dbmeta.RoleDbm; import org.codelibs.fess.es.user.cbean.RoleCB; import org.codelibs.fess.es.user.cbean.ca.RoleCA; import org.codelibs.fess.es.user.cbean.ca.bs.BsRoleCA;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/api-datatypes.go
Location string `xml:"LocationConstraint"` } // DeleteObjectsRequest - xml carrying the object key names which needs to be deleted. type DeleteObjectsRequest struct { // Element to enable quiet mode for the request Quiet bool // List of objects to be deleted Objects []ObjectToDelete `xml:"Object"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 14 07:26:50 UTC 2024 - 3K bytes - Viewed (0) -
cmd/sts-handlers_test.go
case len(entities.UserMappings) != 1: c.Fatalf("Expected to find exactly one user mapping") case entities.UserMappings[0].User != testCase.expectedOutDN: c.Fatalf("Expected user DN `%s`, found `%s`", testCase.expectedOutDN, entities.UserMappings[0].User) case len(entities.UserMappings[0].Policies) != 1: c.Fatalf("Expected exactly one policy attached to user") case entities.UserMappings[0].Policies[0] != policy:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 23:40:37 UTC 2024 - 97.1K bytes - Viewed (0) -
docs/chroot/README.md
Chroot allows user based namespace isolation on many standard Linux deployments. ## 1. Prerequisites - Familiarity with [chroot](http://man7.org/linux/man-pages/man2/chroot.2.html) - Chroot installed on your machine. ## 2. Install MinIO in Chroot ```sh mkdir -p /mnt/export/${USER}/bin wget https://dl.min.io/server/minio/release/linux-amd64/minio -O /mnt/export/${USER}/bin/minio
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 29 04:28:45 UTC 2022 - 1.7K bytes - Viewed (0) -
docs/de/docs/tutorial/response-model.md
Darum müssen wir es in diesem Fall im `response_model`-Parameter deklarieren. ... aber lesen Sie weiter, um zu sehen, wie man das anders lösen kann. ## Rückgabewert und Datenfilterung Führen wir unser vorheriges Beispiel fort. Wir wollten **die Funktion mit einem Typ annotieren**, aber etwas zurückgeben, das **weniger Daten** enthält. Wir möchten auch, dass FastAPI die Daten weiterhin, dem Responsemodell entsprechend, **filtert**.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 19.8K bytes - Viewed (0)