Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 614 for could (0.02 sec)

  1. docs/en/docs/environment-variables.md

    ///
    
    An environment variable (also known as "**env var**") is a variable that lives **outside** of the Python code, in the **operating system**, and could be read by your Python code (or by other programs as well).
    
    Environment variables could be useful for handling application **settings**, as part of the **installation** of Python, etc.
    
    ## Create and Use Env Vars { #create-and-use-env-vars }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/openapi-callbacks.md

    # OpenAPI Callbacks { #openapi-callbacks }
    
    You could create an API with a *path operation* that could trigger a request to an *external API* created by someone else (probably the same developer that would be *using* your API).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/response-directly.md

    Now, let's see how you could use that to return a custom response.
    
    Let's say that you want to return an <a href="https://en.wikipedia.org/wiki/XML" class="external-link" target="_blank">XML</a> response.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/handling-errors.md

    This client could be a browser with a frontend, a code from someone else, an IoT device, etc.
    
    You could need to tell the client that:
    
    * The client doesn't have enough privileges for that operation.
    * The client doesn't have access to that resource.
    * The item the client was trying to access doesn't exist.
    * etc.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. docs/en/docs/deployment/versions.md

    If you use a `requirements.txt` file you could specify the version with:
    
    ```txt
    fastapi[standard]==0.112.0
    ```
    
    that would mean that you would use exactly the version `0.112.0`.
    
    Or you could also pin it with:
    
    ```txt
    fastapi[standard]>=0.112.0,<0.113.0
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/testing.md

    │   └── main.py
    ```
    
    In the file `main.py` you have your **FastAPI** app:
    
    
    {* ../../docs_src/app_testing/main.py *}
    
    ### Testing file { #testing-file }
    
    Then you could have a file `test_main.py` with your tests. It could live on the same Python package (the same directory with a `__init__.py` file):
    
    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/generate-clients.md

    But for the generated client, we could **modify** the OpenAPI operation IDs right before generating the clients, just to make those method names nicer and **cleaner**.
    
    We could download the OpenAPI JSON to a file `openapi.json` and then we could **remove that prefixed tag** with a script like this:
    
    {* ../../docs_src/generate_clients/tutorial004.py *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (1)
  8. docs/en/docs/tutorial/security/oauth2-jwt.md

    And then, you could give that JWT token to a user (or bot), and they could use it to perform those actions (drive the car, or edit the blog post) without even needing to have an account, just with the JWT token your API generated for that.
    
    Using these ideas, JWT can be used for way more sophisticated scenarios.
    
    In those cases, several of those entities could have the same ID, let's say `foo` (a user `foo`, a car `foo`, and a blog post `foo`).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  9. docs/en/docs/how-to/configure-swagger-ui.md

    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Change the Theme { #change-the-theme }
    
    The same way you could set the syntax highlighting theme with the key `"syntaxHighlight.theme"` (notice that it has a dot in the middle):
    
    {* ../../docs_src/configure_swagger_ui/tutorial002.py hl[3] *}
    
    That configuration would change the syntax highlighting color theme:
    
    <img src="/img/tutorial/extending-openapi/image04.png">
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilder.java

         */
        @Nonnull
        SettingsBuilderResult build(@Nonnull SettingsBuilderRequest request);
    
        /**
         * Builds the effective settings of the specified settings sources.
         *
         * @return the result of the settings building, never {@code null}
         * @throws SettingsBuilderException if the effective settings could not be built
         */
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top