Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for New (0.13 sec)

  1. fastapi/utils.py

                    )
        new_field = create_response_field(name=field.name, type_=use_type)
        new_field.has_alias = field.has_alias  # type: ignore[attr-defined]
        new_field.alias = field.alias  # type: ignore[misc]
        new_field.class_validators = field.class_validators  # type: ignore[attr-defined]
        new_field.default = field.default  # type: ignore[misc]
        new_field.required = field.required  # type: ignore[misc]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/fr/docs/advanced/additional-responses.md

    old_dict = {
        "old key": "old value",
        "second old key": "second old value",
    }
    new_dict = {**old_dict, "new key": "new value"}
    ```
    
    Ici, `new_dict` contiendra toutes les paires clรฉ-valeur de `old_dict` plus la nouvelle paire clรฉ-valeurย :
    
    ```Python
    {
        "old key": "old value",
        "second old key": "second old value",
        "new key": "new value",
    }
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

    ## Intro
    
    **FastAPI** wouldn't exist if not for the previous work of others.
    
    There have been many tools created before that have helped inspire its creation.
    
    I have been avoiding the creation of a new framework for several years. First I tried to solve all the features covered by **FastAPI** using many different frameworks, plug-ins, and tools.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/generate-clients.md

      },
      "author": "",
      "license": "",
      "devDependencies": {
        "@hey-api/openapi-ts": "^0.27.38",
        "typescript": "^4.6.2"
      }
    }
    ```
    
    After generating the new client, you would now have **clean method names**, with all the **autocompletion**, **inline errors**, etc:
    
    <img src="/img/tutorial/generate-clients/image08.png">
    
    ## Benefits
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

        * New docs [Separate OpenAPI Schemas for Input and Output or Not](https://fastapi.tiangolo.com/how-to/separate-openapi-schemas/).
        * This PR also includes a new setup (internal tools) for generating screenshots for the docs.
    
    ### Refactors
    
    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)
  6. docs/en/docs/tutorial/security/oauth2-jwt.md

    After a week, the token will be expired and the user will not be authorized and will have to sign in again to get a new token. And if the user (or a third party) tried to modify the token to change the expiration, you would be able to discover it, because the signatures would not match.
    
    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)
  7. docs/en/docs/how-to/async-sql-encode-databases.md

    # ~~Async SQL (Relational) Databases with Encode/Databases~~ (deprecated)
    
    !!! info
        These docs are about to be updated. ๐ŸŽ‰
    
        The current version assumes Pydantic v1.
    
        The new docs will include Pydantic v2 and will use <a href="https://sqlmodel.tiangolo.com/" class="external-link" target="_blank">SQLModel</a> once it is updated to use Pydantic v2 as well.
    
    !!! warning "Deprecated"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/concepts.md

    We, as humans, make **mistakes**, all the time. Software almost *always* has **bugs** hidden in different places. ๐Ÿ›
    
    And we as developers keep improving the code as we find those bugs and as we implement new features (possibly adding new bugs too ๐Ÿ˜…).
    
    ### Small Errors Automatically Handled
    
    When building web APIs with FastAPI, if there's an error in our code, FastAPI will normally contain it to the single request that triggered the error. ๐Ÿ›ก
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 18K bytes
    - Viewed (0)
  9. docs/en/docs/python-types.md

    In Python 3.6 and above (including Python 3.10) you can use the `Union` type from `typing` and put inside the square brackets the possible types to accept.
    
    In Python 3.10 there's also a **new syntax** where you can put the possible types separated by a <abbr title='also called "bitwise or operator", but that meaning is not relevant here'>vertical bar (`|`)</abbr>.
    
    === "Python 3.10+"
    
        ```Python hl_lines="1"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. 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> ๐Ÿ”—.
    
    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)
Back to top