Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Simplify (0.05 sec)

  1. docs_src/path_operation_advanced_configuration/tutorial002_py39.py

    from fastapi.routing import APIRoute
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item_id": "Foo"}]
    
    
    def use_route_names_as_operation_ids(app: FastAPI) -> None:
        """
        Simplify operation IDs so that generated API clients have simpler function
        names.
    
        Should be called only after all routes have been added.
        """
        for route in app.routes:
            if isinstance(route, APIRoute):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 572 bytes
    - Viewed (0)
  2. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

     * marking the file as a build logic input.
     */
    fun Project.trimmedContentsOfFile(path: String): Provider<String> =
        providers.fileContents(repoRoot().file(path)).asText.map { it.trim() }
    
    // TODO Simplify the buildTimestamp() calculation if possible
    fun Project.buildTimestamp(): Provider<String> =
        providers.of(BuildTimestampValueSource::class) {
            parameters {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 30 16:56:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/sql-databases.md

    We will create a FastAPI **dependency** with `yield` that will provide a new `Session` for each request. This is what ensures that we use a single session per request. 🤓
    
    Then we create an `Annotated` dependency `SessionDep` to simplify the rest of the code that will use this dependency.
    
    {* ../../docs_src/sql_databases/tutorial001_an_py310.py ln[25:30]  hl[25:27,30] *}
    
    ### Create Database Tables on Startup { #create-database-tables-on-startup }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:06:56 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py39/dependencies.py hl[3,6:8] title["app/dependencies.py"] *}
    
    /// tip
    
    We are using an invented header to simplify this example.
    
    But in real cases you will get better results using the integrated [Security utilities](security/index.md){.internal-link target=_blank}.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * ✅ Simplify tests for request_forms. PR [#13184](https://github.com/fastapi/fastapi/pull/13184) by [@alejsdev](https://github.com/alejsdev).
    * ✅ Simplify tests for path_query_params. PR [#13181](https://github.com/fastapi/fastapi/pull/13181) by [@alejsdev](https://github.com/alejsdev).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/settings.md

    ## Recap { #recap }
    
    You can use Pydantic Settings to handle the settings or configurations for your application, with all the power of Pydantic models.
    
    * By using a dependency you can simplify testing.
    * You can use `.env` files with it.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     *       smallest sensible numbers of threads, collection sizes, etc needed to check basic
     *       conformance.
     *   <li>The test classes currently do not declare inclusion in any particular package to simplify
     *       things for people integrating them in TCK test suites.
     *   <li>As a convenience, the {@code main} of this class (JSR166TestCase) runs all JSR166 unit
     *       tests.
     * </ul>
     */
    @SuppressWarnings({
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 37.8K bytes
    - Viewed (0)
  8. .bazelrc

    # TensorFlow Bazel configuration file.
    # This file tries to group and simplify build options for TensorFlow
    #
    # ----CONFIG OPTIONS----
    # Android options:
    #    android:
    #    android_arm:
    #    android_arm64:
    #    android_x86:
    #    android_x86_64:
    #
    # iOS options:
    #     ios:
    #     ios_armv7:
    #     ios_arm64:
    #     ios_x86_64:
    #     ios_fat:
    #
    # Macosx options
    #     darwin_arm64:
    #
    # Compiler options:
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Fri Dec 26 23:20:26 UTC 2025
    - 56.8K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.31.md

    - Exposed the `apiserver_watch_cache_resource_version` metric to simplify debugging problems with watchcache. ([#125377](https://github.com/kubernetes/kubernetes/pull/125377), [@wojtek-t](https://github.com/wojtek-t)) [SIG API Machinery and Instrumentation]
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Wed Nov 12 11:33:21 UTC 2025
    - 451.9K bytes
    - Viewed (0)
  10. RELEASE.md

            `compression` argument.
    
    *   Keras:
    
        *   `tf.keras.layers.Conv` now includes a public `convolution_op` method.
            This method can be used to simplify the implementation of Conv
            subclasses. There are two primary ways to use this new method. The first
            is to use the method directly in your own `call` method: `python class
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Oct 28 22:27:41 UTC 2025
    - 740.4K bytes
    - Viewed (3)
Back to top