Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 36 for useHint (0.04 seconds)

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

  1. docs_src/extra_models/tutorial002_py310.py

        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):
        return "supersecret" + raw_password
    
    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 798 bytes
    - Click Count (0)
  2. docs_src/extra_models/tutorial002_py39.py

        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):
        return "supersecret" + raw_password
    
    
    def fake_save_user(user_in: UserIn):
        hashed_password = fake_password_hasher(user_in.password)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 830 bytes
    - Click Count (0)
  3. tests/test_tutorial/test_response_model/test_tutorial003.py

                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                },
                            },
                        },
                        "UserIn": {
                            "title": "UserIn",
                            "required": ["username", "password", "email"],
                            "type": "object",
                            "properties": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_response_model/test_tutorial003_01.py

                                    },
                                }
                            },
                        },
                        "UserIn": {
                            "title": "UserIn",
                            "required": ["username", "email", "password"],
                            "type": "object",
                            "properties": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_response_model/test_tutorial002.py

                                    "schema": {"$ref": "#/components/schemas/UserIn"}
                                }
                            },
                            "required": True,
                        },
                    }
                }
            },
            "components": {
                "schemas": {
                    "UserIn": {
                        "title": "UserIn",
                        "required": ["username", "password", "email"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. internal/s3select/sql/value.go

    		iB, okBi := b.bytesToInt()
    		if okAi && okBi {
    			a.setInt(iA)
    			b.setInt(iB)
    			return nil
    		}
    
    		fA, okAf := a.bytesToFloat()
    		fB, okBf := b.bytesToFloat()
    		if okAf && okBf {
    			a.setFloat(fA)
    			b.setFloat(fB)
    			return nil
    		}
    
    		// Check if they int and float combination.
    		if okAi && okBf {
    			a.setInt(iA)
    			b.setFloat(fA)
    			return nil
    		}
    		if okBi && okAf {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  7. docs_src/extra_models/tutorial001_py310.py

        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)
        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)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 905 bytes
    - Click Count (0)
  8. docs_src/extra_models/tutorial001_py39.py

        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)
        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)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 949 bytes
    - Click Count (0)
  9. docs_src/response_model/tutorial003_01_py39.py

    app = FastAPI()
    
    
    class BaseUser(BaseModel):
        username: str
        email: EmailStr
        full_name: Union[str, None] = None
    
    
    class UserIn(BaseUser):
        password: str
    
    
    @app.post("/user/")
    async def create_user(user: UserIn) -> BaseUser:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 349 bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbPipeInputStreamTest.java

                statusField.setAccessible(true);
                statusField.setInt(resp, status);
                Field availField = TransPeekNamedPipeResponse.class.getDeclaredField("available");
                availField.setAccessible(true);
                availField.setInt(resp, 123);
                return resp;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
Back to Top