Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Tiller (0.25 sec)

  1. tests/test_filter_pydantic_sub_model_pv2.py

            return {"name": name, "description": "model-a-desc", "foo": model_c}
    
        client = TestClient(app)
        return client
    
    
    @needs_pydanticv2
    def test_filter_sub_model(client: TestClient):
        response = client.get("/model/modelA")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "name": "modelA",
            "description": "model-a-desc",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. fastapi/security/oauth2.py

        """
    
        def __init__(
            self,
            scopes: Annotated[
                Optional[List[str]],
                Doc(
                    """
                    This will be filled by FastAPI.
                    """
                ),
            ] = None,
        ):
            self.scopes: Annotated[
                List[str],
                Doc(
                    """
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
Back to top