Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for specs (0.2 sec)

  1. docs/de/docs/advanced/events.md

    ## Technische Details
    
    Nur ein technisches Detail fΓΌr die neugierigen Nerds. πŸ€“
    
    In der technischen ASGI-Spezifikation ist dies Teil des <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">Lifespan Protokolls</a> und definiert Events namens `startup` und `shutdown`.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:30:59 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  2. docs/pt/docs/advanced/events.md

    ## Detalhes tΓ©cnicos
    
    SΓ³ um detalhe tΓ©cnico para nerds curiosos. πŸ€“
    
    Por baixo, na especificação técnica ASGI, essa é a parte do <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">Protocolo Lifespan</a>, e define eventos chamados `startup` e `shutdown`.
    
    !!! info "Informação"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. docs/en/docs/history-design-future.md

    Also, the best approach was to use already existing standards.
    
    So, before even starting to code **FastAPI**, I spent several months studying the specs for OpenAPI, JSON Schema, OAuth2, etc. Understanding their relationship, overlap, and differences.
    
    ## Design
    
    Then I spent some time designing the developer "API" I wanted to have as a user (as a developer using FastAPI).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/events.md

    ## Technical Details
    
    Just a technical detail for the curious nerds. πŸ€“
    
    Underneath, in the ASGI technical specification, this is part of the <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">Lifespan Protocol</a>, and it defines events called `startup` and `shutdown`.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  5. docs/em/docs/advanced/events.md

    πŸ”¨ πŸ‘ˆ πŸ‘½ πŸ”’ πŸ‘ˆ 🚫 πŸ’° βš› βš–οΈ πŸ”’ πŸ‘―β€β™‚οΈ πŸŒ… ⚠ πŸ‘† πŸ”œ πŸ’ͺ πŸͺ πŸ’² 🌐 πŸ”’ βš–οΈ 🎏 🎱.
    
    ↩️ πŸ‘ˆ, ⚫️ πŸ”œ πŸ‘ ↩️ βš™οΈ `lifespan` πŸ”¬ πŸ”›.
    
    ## πŸ“‘ β„Ή
    
    πŸ“‘ β„Ή 😟 πŸ€“. πŸ‘Ά
    
    πŸ”˜, πŸ”« πŸ“‘ πŸ”§, πŸ‘‰ πŸ• <a href="https://asgi.readthedocs.io/en/latest/specs/lifespan.html" class="external-link" target="_blank">πŸ”† πŸ› οΈ</a>, &amp; ⚫️ πŸ”¬ πŸŽ‰ πŸ€™ `startup` &amp; `shutdown`.
    
    ## 🎧 🈸
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  6. 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)
  7. docs/en/docs/advanced/behind-a-proxy.md

    ### Checking the current `root_path`
    
    You can get the current `root_path` used by your application for each request, it is part of the `scope` dictionary (that's part of the ASGI spec).
    
    Here we are including it in the message just for demonstration purposes.
    
    ```Python hl_lines="8"
    {!../../../docs_src/behind_a_proxy/tutorial001.py!}
    ```
    
    Then, if you start Uvicorn with:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  8. docs/en/docs/tutorial/security/first-steps.md

    !!! info
        If you are a very strict "Pythonista" you might dislike the style of the parameter name `tokenUrl` instead of `token_url`.
    
        That's because it is using the same name as in the OpenAPI spec. So that if you need to investigate more about any of these security schemes you can just copy and paste it to find more information about it.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/security/simple-oauth2.md

    And the spec says that the fields have to be named like that. So `user-name` or `email` wouldn't work.
    
    But don't worry, you can show it as you wish to your final users in the frontend.
    
    And your database models can use any other names you want.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. fastapi/openapi/docs.py

            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>
        """
        return HTMLResponse(html)
    
    
    def get_swagger_ui_oauth2_redirect_html() -> HTMLResponse:
    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)
Back to top