Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 80 for doe (0.01 seconds)

  1. tests/test_response_model_as_return_annotation.py

        return User(name="John", surname="Doe")
    
    
    @app.get("/no_response_model-no_annotation-return_dict")
    def no_response_model_no_annotation_return_dict():
        return {"name": "John", "surname": "Doe"}
    
    
    @app.get("/response_model-no_annotation-return_same_model", response_model=User)
    def response_model_no_annotation_return_same_model():
        return User(name="John", surname="Doe")
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 50.3K bytes
    - Click Count (0)
  2. tests/test_stringified_annotation_dependency.py

    from inline_snapshot import snapshot
    
    if TYPE_CHECKING:  # pragma: no cover
        from collections.abc import AsyncGenerator
    
    
    class DummyClient:
        async def get_people(self) -> list:
            return ["John Doe", "Jane Doe"]
    
        async def close(self) -> None:
            pass
    
    
    async def get_client() -> AsyncGenerator[DummyClient, None]:
        client = DummyClient()
        yield client
        await client.close()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  3. docs_src/python_types/tutorial002_py310.py

    def get_full_name(first_name: str, last_name: str):
        full_name = first_name.title() + " " + last_name.title()
        return full_name
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 172 bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/app/service/UserServiceTest.java

        }
    
        @Test
        public void test_user_surname() {
            final User user = new User();
            assertNull(user.getSurname());
    
            user.setSurname("Doe");
            assertEquals("Doe", user.getSurname());
        }
    
        @Test
        public void test_user_businessCategory() {
            final User user = new User();
            assertNull(user.getBusinessCategory());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  5. docs_src/python_types/tutorial001_py310.py

    def get_full_name(first_name, last_name):
        full_name = first_name.title() + " " + last_name.title()
        return full_name
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 162 bytes
    - Click Count (0)
  6. docs_src/security/tutorial003_py310.py

    from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm
    from pydantic import BaseModel
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java

            final Map<String, Object> metaDataMap = responseData.getMetaDataMap();
            metaDataMap.put("author", "John Doe");
            metaDataMap.put("keywords", new String[] { "java", "search" });
    
            assertNotNull(responseData.getMetaDataMap());
            assertEquals(2, responseData.getMetaDataMap().size());
            assertEquals("John Doe", responseData.getMetaDataMap().get("author"));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            final String jwtClaim = "{\"sub\":\"user123\",\"name\":\"John Doe\",\"email\":\"******@****.***\"}";
            final Map<String, Object> attributes = new HashMap<>();
    
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            assertEquals("user123", attributes.get("sub"));
            assertEquals("John Doe", attributes.get("name"));
            assertEquals("******@****.***", attributes.get("email"));
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. tests/test_schema_extra_examples.py

        #             "example1": {"summary": "last name summary", "value": "Doe"},
        #             "example2": {"value": "Doesn't"},
        #         },
        #     ),
        # ):
        #     return lastname
    
        # @app.post("/form_example_examples")
        # def form_example_examples(
        #     lastname: str = Form(
        #         ...,
        #         example="Doe overridden",
        #         examples={
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  10. docs_src/security/tutorial005_an_py310.py

    ALGORITHM = "HS256"
    ACCESS_TOKEN_EXPIRE_MINUTES = 30
    
    
    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "******@****.***",
            "hashed_password": "$argon2id$v=19$m=65536,t=3,p=4$wagCPXjifgvUFBzq4hqe3w$CYaIb8sB+wtD+Vu/P4uod1+Qof8h+1g7bbDlBID48Rc",
            "disabled": False,
        },
        "alice": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 5.4K bytes
    - Click Count (0)
Back to Top