Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 126 for generator (0.26 sec)

  1. docs/en/docs/tutorial/security/oauth2-jwt.md

    !!! tip
        The PassLib context also has functionality to use different hashing algorithms, including deprecated old ones only to allow verifying them, etc.
    
        For example, you could use it to read and verify passwords generated by another system (like Django) but hash any new passwords with a different algorithm like Bcrypt.
    
        And be compatible with all of them at the same time.
    
    Create a utility function to hash a password coming from the user.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial009.py

    
    async def dependency_a():
        dep_a = generate_dep_a()
        try:
            yield dep_a
        finally:
            dep_a.close()
    
    
    async def dependency_b(dep_a=Depends(dependency_a)):
        dep_b = generate_dep_b()
        try:
            yield dep_b
        finally:
            dep_b.close(dep_a)
    
    
    async def dependency_c(dep_b=Depends(dependency_b)):
        dep_c = generate_dep_c()
        try:
            yield dep_c
        finally:
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 455 bytes
    - Viewed (0)
  3. .github/actions/people/action.yml

    name: "Generate FastAPI People"
    description: "Generate the data for the FastAPI People page"
    author: "Sebastián Ramírez <******@****.***>"
    inputs:
      token:
        description: 'User token, to read the GitHub API. Can be passed in using {{ secrets.FASTAPI_PEOPLE }}'
        required: true
    runs:
      using: 'docker'
    Others
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jul 09 15:44:40 GMT 2023
    - 333 bytes
    - Viewed (0)
  4. docs_src/custom_response/tutorial004.py

    from fastapi import FastAPI
    from fastapi.responses import HTMLResponse
    
    app = FastAPI()
    
    
    def generate_html_response():
        html_content = """
        <html>
            <head>
                <title>Some HTML in here</title>
            </head>
            <body>
                <h1>Look ma! HTML!</h1>
            </body>
        </html>
        """
        return HTMLResponse(content=html_content, status_code=200)
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Mar 26 19:09:53 GMT 2020
    - 491 bytes
    - Viewed (0)
  5. docs/en/docs/deployment/https.md

    Now, from a **developer's perspective**, here are several things to keep in mind while thinking about HTTPS:
    
    * For HTTPS, **the server** needs to **have "certificates"** generated by a **third party**.
        * Those certificates are actually **acquired** from the third party, not "generated".
    * Certificates have a **lifetime**.
        * They **expire**.
        * And then they need to be **renewed**, **acquired again** from the third party.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  6. docs/en/docs/how-to/general.md

    ## OpenAPI Docs URLs
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/conditional-openapi.md

    ## Conditional OpenAPI from settings and env vars
    
    You can easily use the same Pydantic settings to configure your generated OpenAPI and the docs UIs.
    
    For example:
    
    ```Python hl_lines="6  11"
    {!../../../docs_src/conditional_openapi/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. fastapi/dependencies/models.py

            self.security_scopes_param_name = security_scopes_param_name
            self.name = name
            self.call = call
            self.use_cache = use_cache
            # Store the path to be able to re-generate a dependable from it in overrides
            self.path = path
            # Save the cache key at creation to optimize performance
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  9. docs/es/docs/advanced/path-operation-advanced-configuration.md

        Incluso si están en diferentes módulos (archivos Python).
    
    ## Excluir de OpenAPI
    
    Para excluir una *operación de path* del esquema OpenAPI generado (y por tanto del la documentación generada automáticamente), usa el parámetro `include_in_schema` y asigna el valor como `False`;
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial003.py!}
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jul 04 12:49:31 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  10. pyproject.toml

        "jinja2 >=2.11.2",
        # For forms and file uploads
        "python-multipart >=0.0.7",
        # For Starlette's SessionMiddleware, not commonly used with FastAPI
        "itsdangerous >=1.1.0",
        # For Starlette's schema generation, would not be used with FastAPI
        "pyyaml >=5.3.1",
        # For UJSONResponse
        "ujson >=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0",
        # For ORJSONResponse
        "orjson >=3.2.1",
    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)
Back to top