Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 381 - 390 of 1,282 for exemplo (0.05 seconds)

  1. docs/en/docs/tutorial/body-multiple-params.md

    /// note
    
    Notice that, in this case, the `item` that would be taken from the body is optional. As it has a `None` default value.
    
    ///
    
    ## Multiple body parameters { #multiple-body-parameters }
    
    In the previous example, the *path operations* would expect a JSON body with the attributes of an `Item`, like:
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 12:58:04 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. docs/en/docs/advanced/using-request-directly.md

    It would also mean that if you get data from the `Request` object directly (for example, read the body) it won't be validated, converted or documented (with OpenAPI, for the automatic API user interface) by FastAPI.
    
    Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  3. docs/en/docs/how-to/conditional-openapi.md

    If you want to secure your API, there are several better things you can do, for example:
    
    * Make sure you have well defined Pydantic models for your request bodies and responses.
    * Configure any required permissions and roles using dependencies.
    * Never store plaintext passwords, only password hashes.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. docs/en/docs/tutorial/security/oauth2-jwt.md

    ---> 100%
    ```
    
    </div>
    
    /// tip
    
    With `pwdlib`, you could even configure it to be able to read passwords created by **Django**, a **Flask** security plug-in or many others.
    
    So, you would be able to, for example, share the same data from a Django application in a database with a FastAPI application. Or gradually migrate a Django application using the same database.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. docs_src/security/tutorial003_py39.py

    fake_users_db = {
        "johndoe": {
            "username": "johndoe",
            "full_name": "John Doe",
            "email": "johndoe@example.com",
            "hashed_password": "fakehashedsecret",
            "disabled": False,
        },
        "alice": {
            "username": "alice",
            "full_name": "Alice Wonderson",
            "email": "alice@example.com",
            "hashed_password": "fakehashedsecret2",
            "disabled": True,
        },
    }
    
    app = FastAPI()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  6. fastapi/security/oauth2.py

        Read more about it in the
        [FastAPI docs for Simple OAuth2 with Password and Bearer](https://fastapi.tiangolo.com/tutorial/security/simple-oauth2/).
    
        ## Example
    
        ```python
        from typing import Annotated
    
        from fastapi import Depends, FastAPI
        from fastapi.security import OAuth2PasswordRequestForm
    
        app = FastAPI()
    
    
        @app.post("/login")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 22K bytes
    - Click Count (0)
  7. docs/es/docs/advanced/testing-dependencies.md

    ### Casos de uso: servicio externo { #use-cases-external-service }
    
    Un ejemplo podría ser que tienes un proveedor de autenticación externo al que necesitas llamar.
    
    Le envías un token y te devuelve un usuario autenticado.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Dec 16 16:33:45 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Déclarer des métadonnées
    
    Vous pouvez déclarer les mêmes paramètres que pour `Query`.
    
    Par exemple, pour déclarer une valeur de métadonnée `title` pour le paramètre de chemin `item_id`, vous pouvez écrire :
    
    {* ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py hl[10] *}
    
    /// note
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  9. docs/en/docs/_llm-test.md

    See for example section `### Quotes` in `docs/de/llm-prompt.md`.
    
    ////
    
    ## Quotes in code snippets { #quotes-in-code-snippets }
    
    //// tab | Test
    
    `pip install "foo[bar]"`
    
    Examples for string literals in code snippets: `"this"`, `'that'`.
    
    A difficult example for string literals in code snippets: `f"I like {'oranges' if orange else "apples"}"`
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 14:48:47 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/resources/web-platform-test-toascii.json

        "output": "ab--c.xn--zca"
      },
      {
        "input": "ab--c.ß",
        "output": "ab--c.xn--zca"
      },
      {
        "comment": "CheckJoiners is true",
        "input": "\u200D.example",
        "output": null
      },
      {
        "input": "xn--1ug.example",
        "output": null
      },
      {
        "comment": "CheckBidi is true",
        "input": "يa",
        "output": null
      },
      {
        "input": "xn--a-yoc",
        "output": null
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.2K bytes
    - Click Count (0)
Back to Top