- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 204 for userId (0.08 sec)
-
docs_src/response_model/tutorial003_01_py310.py
app = FastAPI() class BaseUser(BaseModel): username: str email: EmailStr full_name: str | None = None class UserIn(BaseUser): password: str @app.post("/user/") async def create_user(user: UserIn) -> BaseUser:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 317 bytes - Viewed (0) -
tests/test_response_model_data_filter.py
user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet = PetDB(name="Nibbler", owner=user) return pet @app.get("/pets/", response_model=List[PetOut]) async def read_pets(): user = UserDB( email="******@****.***", hashed_password="secrethashed", ) pet1 = PetDB(name="Nibbler", owner=user)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.7K bytes - Viewed (0) -
docs_src/response_model/tutorial003.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 450 bytes - Viewed (0) -
docs_src/extra_models/tutorial002_py310.py
print("User saved! ..not really") return user_in_db @app.post("/user/", response_model=UserOut) async def create_user(user_in: UserIn): user_saved = fake_save_user(user_in)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 792 bytes - Viewed (0) -
docs/em/docs/tutorial/path-params.md
๐โ ๐ *โก ๐ ๏ธ*, ๐ ๐ช ๐ โ ๐โ ๐ โ๏ธ ๐ง โก. ๐ `/users/me`, โก๏ธ ๐ฌ ๐ โซ๏ธ ๐ค ๐ ๐ โฎ๏ธ ๐ฉโ๐ป. & โคด๏ธ ๐ ๐ช โ๏ธ โก `/users/{user_id}` ๐ค ๐ฝ ๐ ๐ฏ ๐ฉโ๐ป ๐ฉโ๐ป ๐. โฉ๏ธ *โก ๐ ๏ธ* ๐ฌ โ, ๐ ๐ช โ ๐ญ ๐ โก `/users/me` ๐ฃ โญ 1๏ธโฃ `/users/{user_id}`: ```Python hl_lines="6 11" {!../../docs_src/path_params/tutorial003.py!} ``` โช, โก `/users/{user_id}` ๐ ๐ `/users/me`, "๐ญ" ๐ โซ๏ธ ๐จ ๐ข `user_id` โฎ๏ธ ๐ฒ `"me"`. โก, ๐ ๐ซ๐ โ โก ๐ ๏ธ:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 7.7K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_01.py
"paths": { "/user/": { "post": { "summary": "Create User", "operationId": "create_user_user__post", "requestBody": { "content": { "application/json": { "schema": {"$ref": "#/components/schemas/UserIn"} }
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.6K bytes - Viewed (0) -
docs_src/response_model/tutorial003_py310.py
app = FastAPI() class UserIn(BaseModel): username: str password: str email: EmailStr full_name: str | None = None class UserOut(BaseModel): username: str email: EmailStr full_name: str | None = None @app.post("/user/", response_model=UserOut) async def create_user(user: UserIn) -> Any:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Jan 07 13:45:48 UTC 2023 - 431 bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial003_py310.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Aug 04 20:47:07 UTC 2023 - 5.8K bytes - Viewed (0) -
cmd/iam-etcd-store.go
users := set.NewStringSet() for _, kv := range kvs { user := extractPathPrefixAndSuffix(string(kv.Key), prefix, path.Base(string(kv.Key))) users.Add(user) } return users } // Extract path string by stripping off the `prefix` value and the suffix, // value, usually in the following form. // // s := "config/iam/users/foo/config.json" // prefix := "config/iam/users/"
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 01:29:20 UTC 2024 - 14K bytes - Viewed (0) -
docs/de/docs/tutorial/path-params.md
Etwa `/users/me`, um Daten รผber den aktuellen Benutzer zu erhalten. Und Sie haben auch einen Pfad `/users/{user_id}`, um Daten รผber einen spezifischen Benutzer zu erhalten, mittels einer Benutzer-ID. Weil *Pfadoperationen* in ihrer Reihenfolge ausgewertet werden, mรผssen Sie sicherstellen, dass der Pfad `/users/me` vor `/users/{user_id}` deklariert wurde: ```Python hl_lines="6 11"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.2K bytes - Viewed (0)