Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for failed (0.17 sec)

  1. fastapi/applications.py

        def openapi(self) -> Dict[str, Any]:
            """
            Generate the OpenAPI schema of the application. This is called by FastAPI
            internally.
    
            The first time it is called it stores the result in the attribute
            `app.openapi_schema`, and next times it is called, it just returns that same
            result. To avoid the cost of generating the schema every time.
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  2. fastapi/routing.py

                # By being a new field, no inheritance will be passed as is. A new model
                # will always be created.
                # TODO: remove when deprecating Pydantic v1
                self.secure_cloned_response_field: Optional[
                    ModelField
                ] = create_cloned_field(self.response_field)
            else:
                self.response_field = None  # type: ignore
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top