Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 110 for simplest (0.04 sec)

  1. docs/en/docs/advanced/websockets.md

    ---
    
    But for this example, we'll use a very simple HTML document with some JavaScript, all inside a long string.
    
    This, of course, is not optimal and you wouldn't use it for production.
    
    In production you would have one of the options above.
    
    But it's the simplest way to focus on the server-side of WebSockets and have a working example:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. docs/en/docs/python-types.md

    ## Declaring types { #declaring-types }
    
    You just saw the main place to declare type hints. As function parameters.
    
    This is also the main place you would use them with **FastAPI**.
    
    ### Simple types { #simple-types }
    
    You can declare all the standard Python types, not only `str`.
    
    You can use, for example:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/first-steps.md

    # First Steps { #first-steps }
    
    The simplest FastAPI file could look like this:
    
    {* ../../docs_src/first_steps/tutorial001_py39.py *}
    
    Copy that to a file `main.py`.
    
    Run the live server:
    
    <div class="termy">
    
    ```console
    $ <font color="#4E9A06">fastapi</font> dev <u style="text-decoration-style:solid">main.py</u>
    
      <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting development server 🚀
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/sql-databases.md

    /// tip
    
    Having the return model ensure that a value is always available and always `int` (not `None`) is very useful for the API clients, they can write much simpler code having this certainty.
    
    Also, **automatically generated clients** will have simpler interfaces, so that the developers communicating with your API can have a much better time working with your API. 😎
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:06:56 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  5. docs/es/docs/tutorial/security/simple-oauth2.md

    # Simple OAuth2 con Password y Bearer { #simple-oauth2-with-password-and-bearer }
    
    Ahora vamos a construir a partir del capítulo anterior y agregar las partes faltantes para tener un flujo de seguridad completo.
    
    ## Obtener el `username` y `password` { #get-the-username-and-password }
    
    Vamos a usar las utilidades de seguridad de **FastAPI** para obtener el `username` y `password`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/dependencies/sub-dependencies.md

    Solo son funciones que se ven igual que las *path operation functions*.
    
    Pero aun así, es muy potente y te permite declarar "grafos" de dependencia anidados arbitrariamente profundos (árboles).
    
    /// tip | Consejo
    
    Todo esto podría no parecer tan útil con estos ejemplos simples.
    
    Pero verás lo útil que es en los capítulos sobre **seguridad**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/cors.md

    Nesse caso, o middleware interceptará a solicitação recebida e responderá com cabeçalhos CORS apropriados e uma resposta `200` ou `400` para fins informativos.
    
    ### Requisições Simples { #simple-requests }
    
    Qualquer solicitação com um cabeçalho `Origin`. Neste caso, o middleware passará a solicitação normalmente, mas incluirá cabeçalhos CORS apropriados na resposta.
    
    ## Mais informações { #more-info }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. docs/es/docs/advanced/security/http-basic-auth.md

    Luego, cuando escribes ese nombre de usuario y contraseña, el navegador los envía automáticamente en el header.
    
    ## Simple HTTP Basic Auth { #simple-http-basic-auth }
    
    * Importa `HTTPBasic` y `HTTPBasicCredentials`.
    * Crea un "esquema de `security`" usando `HTTPBasic`.
    * Usa ese `security` con una dependencia en tu *path operation*.
    * Devuelve un objeto de tipo `HTTPBasicCredentials`:
      * Contiene el `username` y `password` enviados.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/cors.md

    En este caso, el middleware interceptará el request entrante y responderá con los headers CORS adecuados, y un response `200` o `400` con fines informativos.
    
    ### Requests simples { #simple-requests }
    
    Cualquier request con un header `Origin`. En este caso, el middleware pasará el request a través de lo normal, pero incluirá los headers CORS adecuados en el response.
    
    ## Más info { #more-info }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/generate-clients.md

    ## Custom Operation IDs and Better Method Names { #custom-operation-ids-and-better-method-names }
    
    You can **modify** the way these operation IDs are **generated** to make them simpler and have **simpler method names** in the clients.
    
    In this case, you will have to ensure that each operation ID is **unique** in some other way.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 10.1K bytes
    - Viewed (1)
Back to top