Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DBUser (0.03 sec)

  1. tests/test_response_model_as_return_annotation.py

        return [
            DBUser(name="John", surname="Doe", password_hash="secret"),
            DBUser(name="Jane", surname="Does", password_hash="secret2"),
        ]
    
    
    @app.get("/no_response_model-annotation_list_of_model")
    def no_response_model_annotation_list_of_model() -> List[User]:
        return [
            DBUser(name="John", surname="Doe", password_hash="secret"),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 14 09:49:57 UTC 2023
    - 47.7K bytes
    - Viewed (0)
Back to top