Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for supersecret (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/extra_models/tutorial002_py310.py

    class UserIn(UserBase):
        password: str
    
    
    class UserOut(UserBase):
        pass
    
    
    class UserInDB(UserBase):
        hashed_password: str
    
    
    def fake_password_hasher(raw_password: str):
        return "supersecret" + raw_password
    
    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.model_dump(), hashed_password=hashed_password)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 798 bytes
    - Click Count (0)
  2. docs_src/extra_models/tutorial001_py310.py

    
    class UserInDB(BaseModel):
        username: str
        hashed_password: str
        email: EmailStr
        full_name: str | None = None
    
    
    def fake_password_hasher(raw_password: str):
        return "supersecret" + raw_password
    
    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
        user_in_db = UserInDB(**user_in.model_dump(), hashed_password=hashed_password)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 905 bytes
    - Click Count (0)
  3. fastapi/.agents/skills/fastapi/SKILL.md

        description: str | None = None
    
    
    @app.get("/items/me", response_model=Item)
    async def get_item() -> Any:
        item = InternalItem(
            name="Foo", description="A very nice Item", secret_key="supersecret"
        )
        return item
    ```
    
    ## Performance
    
    Do not use `ORJSONResponse` or `UJSONResponse`, they are deprecated.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 10.1K bytes
    - Click Count (0)
Back to Top