Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Haddad (0.33 sec)

  1. fastapi/param_functions.py

            ),
        ] = _Unset,
        openapi_examples: Annotated[
            Optional[Dict[str, Example]],
            Doc(
                """
                OpenAPI-specific examples.
    
                It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
                Swagger UI (that provides the `/docs` interface) has better support for the
                OpenAPI-specific examples than the JSON Schema `examples`, that's the main
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/response-model.md

    If you added the return type annotation, tools and editors would complain with a (correct) error telling you that your function is returning a type (e.g. a dict) that is different from what you declared (e.g. a Pydantic model).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

    It is also commonly used for other applications that don't necessarily need a database, user management, or any of the many features that come pre-built in Django. Although many of these features can be added with plug-ins.
    
    This decoupling of parts, and being a "microframework" that could be extended to cover exactly what is needed was a key feature that I wanted to keep.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/bigger-applications.md

    So, the prefix in this case is `/items`.
    
    We can also add a list of `tags` and extra `responses` that will be applied to all the *path operations* included in this router.
    
    And we can add a list of `dependencies` that will be added to all the *path operations* in the router and will be executed/solved for each request made to them.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/metadata.md

    ### Order of tags
    
    The order of each tag metadata dictionary also defines the order shown in the docs UI.
    
    For example, even though `users` would go after `items` in alphabetical order, it is shown before them, because we added their metadata as the first dictionary in the list.
    
    ## OpenAPI URL
    
    By default, the OpenAPI schema is served at `/openapi.json`.
    
    But you can configure it with the parameter `openapi_url`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. docs/en/docs/release-notes.md

    The key updated docs are:
    
    * Python Types Intro:
        * [Type Hints with Metadata Annotations](https://fastapi.tiangolo.com/python-types/#type-hints-with-metadata-annotations).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
  7. .pre-commit-config.yaml

    # See https://pre-commit.com/hooks.html for more hooks
    default_language_version:
        python: python3.10
    repos:
    -   repo: https://github.com/pre-commit/pre-commit-hooks
        rev: v4.4.0
        hooks:
        -   id: check-added-large-files
        -   id: check-toml
        -   id: check-yaml
            args:
            -   --unsafe
        -   id: end-of-file-fixer
        -   id: trailing-whitespace
    -   repo: https://github.com/charliermarsh/ruff-pre-commit
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 737 bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/dependencies/index.md

    * An optional query parameter `limit` that is an `int`, and by default is `100`.
    
    And then it just returns a `dict` containing those values.
    
    !!! info
        FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0.
    
        If you have an older version, you would get errors when trying to use `Annotated`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/query-params-str-validations.md

        It will already be installed with FastAPI.
    
        ```Python hl_lines="3-4"
        {!> ../../../docs_src/query_params_str_validations/tutorial002_an.py!}
        ```
    
    !!! info
        FastAPI added support for `Annotated` (and started recommending it) in version 0.95.0.
    
        If you have an older version, you would get errors when trying to use `Annotated`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  10. fastapi/applications.py

                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
                    """
                ),
            ] = None,
            deprecated: Annotated[
                Optional[bool],
                Doc(
                    """
                    Mark this *path operation* as deprecated.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    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)
Back to top