Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for qselect (0.17 sec)

  1. docs/en/docs/advanced/behind-a-proxy.md

    <img src="/img/tutorial/behind-a-proxy/image03.png">
    
    !!! tip
        The docs UI will interact with the server that you select.
    
    ### Disable automatic server from `root_path`
    
    If you don't want **FastAPI** to include an automatic server using the `root_path`, you can use the parameter `root_path_in_servers=False`:
    
    ```Python hl_lines="9"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  2. docs/en/docs/help-fastapi.md

    You can "watch" FastAPI in GitHub (clicking the "watch" button at the top right): <a href="https://github.com/tiangolo/fastapi" class="external-link" target="_blank">https://github.com/tiangolo/fastapi</a>. 👀
    
    There you can select "Releases only".
    
    By doing it, you will receive notifications (in your email) whenever there's a new release (a new version) of **FastAPI** with bug fixes and new features.
    
    ## Connect with the author
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/oauth2-scopes.md

    <img src="/img/tutorial/security/image11.png">
    
    If you don't select any scope, you will be "authenticated", but when you try to access `/users/me/` or `/users/me/items/` you will get an error saying that you don't have enough permissions. You will still be able to access `/status/`.
    
    And if you select the scope `me` but not the scope `items`, you will be able to access `/users/me/` but not `/users/me/items/`.
    
    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)
  4. docs/en/docs/how-to/sql-databases-peewee.md

    ```
    
    ### About `def` vs `async def`
    
    The same as with SQLAlchemy, we are not doing something like:
    
    ```Python
    user = await models.User.select().first()
    ```
    
    ...but instead we are using:
    
    ```Python
    user = models.User.select().first()
    ```
    
    So, again, we should declare the *path operation functions* and the dependency without `async def`, just with a normal `def`, as:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  5. docs/em/docs/how-to/sql-databases-peewee.md

    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    ### 🔃 `def` 🆚 `async def`
    
    🎏 ⏎ī¸ 🇸🇲, đŸ‘Ĩ đŸšĢ 🔨 đŸ•ŗ 💖:
    
    ```Python
    user = await models.User.select().first()
    ```
    
    ...✋ī¸ ↩ī¸ đŸ‘Ĩ ⚙ī¸:
    
    ```Python
    user = models.User.select().first()
    ```
    
    , 🔄, đŸ‘Ĩ 🔜 đŸ“Ŗ *➡ 🛠ī¸ đŸ”ĸ* &amp; 🔗 đŸĩ `async def`, ⏎ī¸ 😐 `def`,:
    
    ```Python hl_lines="2"
    # Something goes here
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 19.2K bytes
    - Viewed (0)
Back to top