Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 359 for requires (0.3 sec)

  1. fastapi/security/oauth2.py

    
        grant_type: the OAuth2 spec says it is required and MUST be the fixed string "password".
            This dependency is strict about it. If you want to be permissive, use instead the
            OAuth2PasswordRequestForm dependency class.
        username: username string. The OAuth2 spec requires the exact field name "username".
        password: password string. The OAuth2 spec requires the exact field name "password".
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 21.1K bytes
    - Viewed (1)
  2. docs/en/docs/reference/openapi/index.md

    # OpenAPI
    
    There are several utilities to handle OpenAPI.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Oct 18 12:36:40 GMT 2023
    - 158 bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/path-operation-configuration.md

        ```
    
    !!! info
        Notice that `response_description` refers specifically to the response, the `description` refers to the *path operation* in general.
    
    !!! check
        OpenAPI specifies that each *path operation* requires a response description.
    
        So, if you don't provide one, **FastAPI** will automatically generate one of "Successful response".
    
    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-forms.md

        {!> ../../../docs_src/request_forms/tutorial001.py!}
        ```
    
    For example, in one of the ways the OAuth2 specification can be used (called "password flow") it is required to send a `username` and `password` as form fields.
    
    The <abbr title="specification">spec</abbr> requires the fields to be exactly named `username` and `password`, and to be sent as form fields, not JSON.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/security/oauth2-scopes.md

    In this case, it requires the scope `me` (it could require more than one scope).
    
    !!! note
        You don't necessarily need to add different scopes in different places.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/dependencies/index.md

    ## What is "Dependency Injection"
    
    **"Dependency Injection"** means, in programming, that there is a way for your code (in this case, your *path operation functions*) to declare things that it requires to work and use: "dependencies".
    
    And then, that system (in this case **FastAPI**) will take care of doing whatever is needed to provide your code with those needed dependencies ("inject" the dependencies).
    
    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)
  7. pyproject.toml

    [build-system]
    requires = ["pdm-backend"]
    build-backend = "pdm.backend"
    
    [project]
    name = "fastapi"
    dynamic = ["version"]
    description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"
    readme = "README.md"
    requires-python = ">=3.8"
    authors = [
        { name = "Sebastián Ramírez", email = "******@****.***" },
    ]
    classifiers = [
        "Intended Audience :: Information Technology",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  8. fastapi/openapi/docs.py

        ReDoc doesn't change outer page styles
        -->
        <style>
          body {{
            margin: 0;
            padding: 0;
          }}
        </style>
        </head>
        <body>
        <noscript>
            ReDoc requires Javascript to function. Please enable it to browse the documentation.
        </noscript>
        <redoc spec-url="{openapi_url}"></redoc>
        <script src="{redoc_js_url}"> </script>
        </body>
        </html>
        """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. docs/en/docs/alternatives.md

    It requires a little bit more verbose configurations. And as it is based on WSGI (instead of ASGI), it is not designed to take advantage of the high performance provided by tools like Uvicorn, Starlette and Sanic.
    
    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)
  10. docs/en/docs/async.md

    ---
    
    Common examples of CPU bound operations are things that require complex math processing.
    
    For example:
    
    * **Audio** or **image processing**.
    * **Computer vision**: an image is composed of millions of pixels, each pixel has 3 values / colors, processing that normally requires computing something on those pixels, all at the same time.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23K bytes
    - Viewed (0)
Back to top