Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for Creating (0.12 sec)

  1. docs/en/docs/advanced/settings.md

    {* ../../docs_src/settings/app02_an_py39/test_main.py hl[9:10,13,21] *}
    
    In the dependency override we set a new value for the `admin_email` when creating the new `Settings` object, and then we return that new object.
    
    Then we can test that it is used.
    
    ## Reading a `.env` file { #reading-a-env-file }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. scripts/topic_repos.py

        subprocess.run(
            ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"],
            check=True,
        )
        branch_name = f"fastapi-topic-repos-{secrets.token_hex(4)}"
        logging.info(f"Creating a new branch {branch_name}")
        subprocess.run(["git", "checkout", "-b", branch_name], check=True)
        logging.info("Adding updated file")
        subprocess.run(["git", "add", str(repos_path)], check=True)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. scripts/sponsors.py

            ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"],
            check=True,
        )
        branch_name = f"fastapi-people-sponsors-{secrets.token_hex(4)}"
        logging.info(f"Creating a new branch {branch_name}")
        subprocess.run(["git", "checkout", "-b", branch_name], check=True)
        logging.info("Adding updated file")
        subprocess.run(
            [
                "git",
                "add",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. scripts/contributors.py

            ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"],
            check=True,
        )
        branch_name = f"fastapi-people-contributors-{secrets.token_hex(4)}"
        logging.info(f"Creating a new branch {branch_name}")
        subprocess.run(["git", "checkout", "-b", branch_name], check=True)
        logging.info("Adding updated file")
        subprocess.run(
            [
                "git",
                "add",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 12:34:01 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  5. fastapi/concurrency.py

        # can create race conditions/deadlocks if the context manager itself
        # has its own internal pool (e.g. a database connection pool)
        # to avoid this we let __exit__ run without a capacity limit
        # since we're creating a new limiter for each call, any non-zero limit
        # works (1 is arbitrary)
        exit_limiter = CapacityLimiter(1)
        try:
            yield await run_in_threadpool(cm.__enter__)
        except Exception as e:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/storage/StorageClient.java

         *
         * @param objectName the name/path of the object
         * @param tags the tags to set
         */
        void setObjectTags(String objectName, Map<String, String> tags);
    
        /**
         * Ensures the bucket exists, creating it if necessary.
         */
        void ensureBucketExists();
    
        /**
         * Checks if storage is properly configured and accessible.
         *
         * @return true if storage is available
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/conditional-openapi.md

    For example:
    
    {* ../../docs_src/conditional_openapi/tutorial001_py39.py hl[6,11] *}
    
    Here we declare the setting `openapi_url` with the same default of `"/openapi.json"`.
    
    And then we use it when creating the `FastAPI` app.
    
    Then you could disable OpenAPI (including the UI docs) by setting the environment variable `OPENAPI_URL` to the empty string, like:
    
    <div class="termy">
    
    ```console
    $ OPENAPI_URL= uvicorn main:app
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/configure-swagger-ui.md

    To configure them, pass the `swagger_ui_parameters` argument when creating the `FastAPI()` app object or to the `get_swagger_ui_html()` function.
    
    `swagger_ui_parameters` receives a dictionary with the configurations passed to Swagger UI directly.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. scripts/people.py

        subprocess.run(
            ["git", "config", "user.email", "github-actions[bot]@users.noreply.github.com"],
            check=True,
        )
        branch_name = f"fastapi-people-experts-{secrets.token_hex(4)}"
        logging.info(f"Creating a new branch {branch_name}")
        subprocess.run(["git", "checkout", "-b", branch_name], check=True)
        logging.info("Adding updated file")
        subprocess.run(["git", "add", str(people_path)], check=True)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/openapi-callbacks.md

    ## An app with callbacks { #an-app-with-callbacks }
    
    Let's see all this with an example.
    
    Imagine you develop an app that allows creating invoices.
    
    These invoices will have an `id`, `title` (optional), `customer`, and `total`.
    
    The user of your API (an external developer) will create an invoice in your API with a POST request.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top