- Sort Score
- Num 10 results
- Language All
Results 361 - 370 of 677 for user$name (0.09 seconds)
-
docs_src/body_multiple_params/tutorial003_py39.py
app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item, user: User, importance: int = Body()):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 548 bytes - Click Count (0) -
docs_src/extra_models/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel, EmailStr app = FastAPI() class UserBase(BaseModel): username: str email: EmailStr full_name: str | None = None class UserIn(UserBase): password: str class UserOut(UserBase): pass class UserInDB(UserBase): hashed_password: str def fake_password_hasher(raw_password: str):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 798 bytes - Click Count (0) -
docs/en/docs/tutorial/security/get-current-user.md
But you are not restricted to using some specific data model, class or type. Do you want to have an `id` and `email` and not have any `username` in your model? Sure. You can use these same tools. Do you want to just have a `str`? Or just a `dict`? Or a database class model instance directly? It all works the same way.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 4K bytes - Click Count (0) -
docs/de/docs/tutorial/security/get-current-user.md
Sie sind jedoch nicht auf die Verwendung von bestimmten Datenmodellen, Klassen, oder Typen beschränkt. Möchten Sie eine `id` und eine `email` und keinen `username` in Ihrem Modell haben? Kein Problem. Sie können dieselben Tools verwenden.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/es/docs/advanced/security/oauth2-scopes.md
{* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *} ## Verificar el `username` y la forma de los datos { #verify-the-username-and-data-shape } Verificamos que obtenemos un `username`, y extraemos los scopes.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 10:15:01 GMT 2025 - 14.2K bytes - Click Count (0) -
src/main/webapp/WEB-INF/orig/view/index.jsp
</c:if> <c:choose> <c:when test="${!empty username && username != 'guest'}"> <li class="nav-item"> <div class="dropdown"> <a id="userMenu" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"> <em class="fa fa-fw fa-user">${username} </a>Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Jan 18 12:09:07 GMT 2025 - 7K bytes - Click Count (1) -
docs_src/path_operation_configuration/tutorial002_py39.py
return item @app.get("/items/", tags=["items"]) async def read_items(): return [{"name": "Foo", "price": 42}] @app.get("/users/", tags=["users"]) async def read_users():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat May 14 11:59:59 GMT 2022 - 575 bytes - Click Count (0) -
docs/sts/dex.md
"Resource": [ "arn:aws:s3:::*" ] } ] } ``` ### Visit <http://localhost:8080> You will be redirected to dex login screen - click "Login with email", enter username password > username: ******@****.*** > password: password and then click "Grant access" On the browser now you shall see the list of buckets output, along with your temporary credentials obtained from MinIO. ``` {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 3.8K bytes - Click Count (0) -
docs_src/generate_clients/tutorial003_py39.py
class Item(BaseModel): name: str price: float class ResponseMessage(BaseModel): message: str class User(BaseModel): username: str email: str @app.post("/items/", response_model=ResponseMessage, tags=["items"]) async def create_item(item: Item): return {"message": "Item received"}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Mar 04 22:02:18 GMT 2022 - 914 bytes - Click Count (0) -
docs_src/extra_models/tutorial002_py39.py
from typing import Union from fastapi import FastAPI from pydantic import BaseModel, EmailStr app = FastAPI() class UserBase(BaseModel): username: str email: EmailStr full_name: Union[str, None] = None class UserIn(UserBase): password: str class UserOut(UserBase): pass class UserInDB(UserBase): hashed_password: str def fake_password_hasher(raw_password: str):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 830 bytes - Click Count (0)