Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Simplify (0.04 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. src/cmd/asm/internal/asm/testdata/386enc.s

    // license that can be found in the LICENSE file.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT asmtest(SB),DUPOK|NOSPLIT,$0
    	// Instructions that were encoded with BYTE sequences.
    	// Included to simplify validation of CL that fixed that.
    	MOVQ (AX), M0  // 0f6f00
    	MOVQ M0, 8(SP) // 0f7f442408
    	MOVQ 8(SP), M0 // 0f6f442408
    	MOVQ M0, (AX)  // 0f7f00
    	MOVQ M0, (BX)  // 0f7f03
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Apr 11 18:32:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

        private int id;
    
        // Constructor
        ArtifactScopeEnum(int id) {
            this.id = id;
        }
    
        int getId() {
            return id;
        }
    
        /**
         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
        public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. architecture/standards/0001-use-architectural-decision-records.md

    * We locate `.md` files in the folder `/architecture/standards`
    * We highly encourage usage of ADR to communicate decisions
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Aug 26 17:29:22 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. 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)
  6. docs/en/docs/tutorial/security/index.md

    ///
    
    ## **FastAPI** utilities { #fastapi-utilities }
    
    FastAPI provides several tools for each of these security schemes in the `fastapi.security` module that simplify using these security mechanisms.
    
    In the next chapters you will see how to add security to your API using those tools provided by **FastAPI**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/oauth2-jwt.md

    In almost any framework handling the security becomes a rather complex subject quite quickly.
    
    Many packages that simplify it a lot have to make many compromises with the data model, database, and available features. And some of these packages that simplify things too much actually have security flaws underneath.
    
    ---
    
    **FastAPI** doesn't make any compromise with any database, data model or tool.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 02:57:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

     */
    @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly")
    abstract class DistributionTest : Test() {
    
        /**
         * To further categorize tests. (We should simplify this and get rid of the subclasses if possible)
         */
        @get:Internal
        abstract val prefix: String
    
        /**
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 18 18:02:41 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  9. internal/config/errors-utils.go

    	e := u.Clone()
    	e.hint = fmt.Sprintf(m, args...)
    	return e
    }
    
    // ErrFn function wrapper
    type ErrFn func(err error) Err
    
    // Create a UI error generator, this is needed to simplify
    // the update of the detailed error message in several places
    // in MinIO code
    func newErrFn(msg, action, hint string) ErrFn {
    	return func(err error) Err {
    		u := Err{
    			msg:    msg,
    			action: action,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. 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)
Back to top