Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Younes (0.27 sec)

  1. fastapi/openapi/utils.py

        return path, security_schemes, definitions
    
    
    def get_fields_from_routes(
        routes: Sequence[BaseRoute],
    ) -> List[ModelField]:
        body_fields_from_routes: List[ModelField] = []
        responses_from_routes: List[ModelField] = []
        request_fields_from_routes: List[ModelField] = []
        callback_flat_models: List[ModelField] = []
        for route in routes:
            if getattr(route, "include_in_schema", None) and isinstance(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
  2. fastapi/applications.py

                    terms_of_service=self.terms_of_service,
                    contact=self.contact,
                    license_info=self.license_info,
                    routes=self.routes,
                    webhooks=self.webhooks.routes,
                    tags=self.openapi_tags,
                    servers=self.servers,
                    separate_input_output_schemas=self.separate_input_output_schemas,
                )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  3. fastapi/routing.py

                    """
                ),
            ] = None,
            routes: Annotated[
                Optional[List[BaseRoute]],
                Doc(
                    """
                    **Note**: you probably shouldn't use this parameter, it is inherited
                    from Starlette and supported for compatibility.
    
                    ---
    
                    A list of routes to serve incoming HTTP and WebSocket requests.
                    """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  4. tests/test_generate_unique_id_function.py

        @app.post(
            "/",
            response_model=List[Item],
            responses={404: {"model": List[Message]}},
            generate_unique_id_function=custom_generate_unique_id3,
            callbacks=callback_router.routes,
        )
        def post_root(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        @app.post(
            "/tocallback",
            response_model=List[Item],
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 15:10:26 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top