Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for define (0.16 sec)

  1. docs/em/docs/tutorial/sql-databases.md

    ## ๐Ÿ› ๏ธ
    
    โ†ฉ๏ธ ๐Ÿ‘ฅ โš™๏ธ ๐Ÿ‡ธ๐Ÿ‡ฒ ๐Ÿ”— &amp; ๐Ÿ‘ฅ ๐Ÿšซ ๐Ÿšš ๐Ÿ™† ๐Ÿ˜‡ ๐Ÿ”Œ-โšซ๏ธ ๐Ÿ‘ท โฎ๏ธ **FastAPI**, ๐Ÿ‘ฅ ๐Ÿ’ช ๐Ÿ› ๏ธ ๐Ÿ’ฝ <abbr title="Automatically updating the database to have any new column we define in our models.">๐Ÿ› ๏ธ</abbr> โฎ๏ธ <a href="https://alembic.sqlalchemy.org" class="external-link" target="_blank">โš—</a> ๐Ÿ”—.
    
    &amp; ๐Ÿ“Ÿ ๐Ÿ”— ๐Ÿ‡ธ๐Ÿ‡ฒ &amp; ๐Ÿ‡ธ๐Ÿ‡ฒ ๐Ÿท ๐Ÿ–– ๐ŸŽ ๐Ÿ”ฌ ๐Ÿ“, ๐Ÿ‘† ๐Ÿ”œ ๐Ÿ’ช ๐ŸŽญ ๐Ÿ› ๏ธ โฎ๏ธ โš— ๐Ÿต โœ”๏ธ โŽ FastAPI, Pydantic, โš–๏ธ ๐Ÿ•ณ ๐Ÿ™†.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 25.2K bytes
    - Viewed (1)
  2. docs/en/docs/tutorial/request-forms.md

    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/request_forms/tutorial001.py!}
        ```
    
    ## Define `Form` parameters
    
    Create form parameters the same way you would for `Body` or `Query`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="9"
        {!> ../../../docs_src/request_forms/tutorial001_an_py39.py!}
        ```
    
    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)
  3. docs/en/docs/async.md

        return burgers
    ```
    
    ### More technical details
    
    You might have noticed that `await` can only be used inside of functions defined with `async def`.
    
    But at the same time, functions defined with `async def` have to be "awaited". So, functions with `async def` can only be called inside of functions defined with `async def` too.
    
    So, about the egg and the chicken, how do you call the first `async` function?
    
    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)
  4. fastapi/datastructures.py

    from starlette.datastructures import UploadFile as StarletteUploadFile
    from typing_extensions import Annotated, Doc
    
    
    class UploadFile(StarletteUploadFile):
        """
        A file uploaded in a request.
    
        Define it as a *path operation function* (or dependency) parameter.
    
        If you are using a regular `def` function, you can use the `upload_file.file`
        attribute to access the raw standard Python file (blocking, not async), useful and
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. docs/pt/docs/features.md

        * Como as estruturas de dados do Pydantic sรฃo apenas instรขncias de classes que vocรช define, a auto completaรงรฃo, _linting_, _mypy_ e a sua intuiรงรฃo devem funcionar corretamente com seus dados validados.
    * Valida **estruturas complexas**:
        * Use modelos hierรกrquicos do Pydantic, `List` e `Dict` do `typing` do Python, etc.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/security/oauth2-scopes.md

    ## OAuth2 scopes and OpenAPI
    
    The OAuth2 specification defines "scopes" as a list of strings separated by spaces.
    
    The content of each of these strings can have any format, but should not contain spaces.
    
    These scopes represent "permissions".
    
    In OpenAPI (e.g. the API docs), you can define "security schemes".
    
    When one of these security schemes uses OAuth2, you can also declare and use scopes.
    
    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)
  7. docs/en/docs/advanced/settings.md

    Here we define the config `env_file` inside of your Pydantic `Settings` class, and set the value to the filename with the dotenv file we want to use.
    
    ### Creating the `Settings` only once with `lru_cache`
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/sql-databases.md

    !!! tip
        To avoid confusion between the SQLAlchemy *models* and the Pydantic *models*, we will have the file `models.py` with the SQLAlchemy models, and the file `schemas.py` with the Pydantic models.
    
        These Pydantic models define more or less a "schema" (a valid data shape).
    
        So this will help us avoiding confusion while using both.
    
    ### Create initial Pydantic *models* / schemas
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 29.6K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/metadata.md

    ### Check the docs
    
    Now, if you check the docs, they will show all the additional metadata:
    
    <img src="/img/tutorial/metadata/image02.png">
    
    ### Order of tags
    
    The order of each tag metadata dictionary also defines the order shown in the docs UI.
    
    For example, even though `users` would go after `items` in alphabetical order, it is shown before them, because we added their metadata as the first dictionary in the list.
    
    ## OpenAPI URL
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Mar 31 23:52:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * ๐Ÿ› Fix FastAPI People GitHub Action: set HTTPX timeout for GraphQL query request. PR [#5222](https://github.com/tiangolo/fastapi/pull/5222) by [@iudeen](https://github.com/iudeen).
    * ๐Ÿ› Make sure a parameter defined as required is kept required in OpenAPI even if defined as optional in another dependency. PR [#4319](https://github.com/tiangolo/fastapi/pull/4319) by [@cd17822](https://github.com/cd17822).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri May 03 23:25:42 GMT 2024
    - 388.1K bytes
    - Viewed (1)
Back to top