Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 97 for work (0.13 sec)

  1. docs/en/docs/advanced/security/http-basic-auth.md

    `secrets.compare_digest()` needs to take `bytes` or a `str` that only contains ASCII characters (the ones in English), this means it wouldn't work with characters like `á`, as in `Sebastián`.
    
    To handle that, we first convert the `username` and `password` to `bytes` encoding them with UTF-8.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 14:33:05 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-params-str-validations.md

    The **default** value of the **function parameter** is the **actual default** value, that's more intuitive with Python in general. 😌
    
    You could **call** that same function in **other places** without FastAPI, and it would **work as expected**. If there's a **required** parameter (without a default value), your **editor** will let you know with an error, **Python** will also complain if you run it without passing the required parameter.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/custom-response.md

        So, it is a generator function that transfers the "generating" work to something else internally.
    
        By doing it this way, we can put it in a `with` block, and that way, ensure that it is closed after finishing.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body.md

    <img src="/img/tutorial/body/image04.png">
    
    This is not by chance, the whole framework was built around that design.
    
    And it was thoroughly tested at the design phase, before any implementation, to ensure it would work with all the editors.
    
    There were even some changes to Pydantic itself to support this.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/index.md

    Each section gradually builds on the previous ones, but it's structured to separate topics, so that you can go directly to any specific one to solve your specific API needs.
    
    It is also built to work as a future reference.
    
    So you can come back and see exactly what you need.
    
    ## Run the code
    
    All the code blocks can be copied and used directly (they are actually tested Python files).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/sql-databases.md

    And the ORM will do all the work to get the information from the corresponding table *owners* when you try to access it from your pet object.
    
    Common ORMs are for example: Django-ORM (part of the Django framework), SQLAlchemy ORM (part of SQLAlchemy, independent of framework) and Peewee (independent of framework), among others.
    
    Here we will see how to work with **SQLAlchemy ORM**.
    
    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)
  7. docs/en/docs/advanced/security/oauth2-scopes.md

    # OAuth2 scopes
    
    You can use OAuth2 scopes directly with **FastAPI**, they are integrated to work seamlessly.
    
    This would allow you to have a more fine-grained permission system, following the OAuth2 standard, integrated into your OpenAPI application (and the API docs).
    
    OAuth2 with scopes is the mechanism used by many big authentication providers, like Facebook, Google, GitHub, Microsoft, Twitter, etc. They use it to provide specific permissions to users and applications.
    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)
  8. docs/en/docs/tutorial/path-params-numeric-validations.md

        ```Python hl_lines="9"
        {!> ../../../docs_src/path_params_numeric_validations/tutorial005.py!}
        ```
    
    ## Number validations: floats, greater than and less than
    
    Number validations also work for `float` values.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  9. README.md

        * Check that it has a required attribute `price` that has to be a `float`.
        * Check that it has an optional attribute `is_offer`, that should be a `bool`, if present.
        * All this would also work for deeply nested JSON objects.
    * Convert from and to JSON automatically.
    * Document everything with OpenAPI, that can be used by:
        * Interactive documentation systems.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/docker.md

    ## Replication - Number of Processes
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top