Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 1,659 for provider2 (0.06 sec)

  1. docs/zh/docs/features.md

    加上来自 Starlette(包括 **session cookie**)的所有安全特性。
    
    所有的这些都是可复用的工具和组件,可以轻松与你的系统,数据仓库,关系型以及 NoSQL 数据库等等集成。
    
    
    
    ### 依赖注入
    
    FastAPI 有一个使用非常简单,但是非常强大的<abbr title='也叫做 "components", "resources", "services", "providers"'><strong>依赖注入</strong></abbr>系统。
    
    * 甚至依赖也可以有依赖,创建一个层级或者**“图”依赖**。
    * 所有**自动化处理**都由框架完成。
    * 所有的依赖关系都可以从请求中获取数据,并且**增加了路径操作**约束和自动文档生成。
    * 即使在依赖项中被定义的*路径操作* 也会**自动验证**。
    * 支持复杂的用户身份认证系统,**数据库连接**等等。
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

       */
      internal var errorCode: ErrorCode? = null
        get() = this.withLock { field }
    
      /** The exception that explains [errorCode]. Null if no exception was provided. */
      internal var errorException: IOException? = null
    
      init {
        if (headers != null) {
          check(!isLocallyInitiated) { "locally-initiated streams shouldn't have headers yet" }
          headersQueue += headers
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/FluentFuture.java

        return checkNotNull(future);
      }
    
      /**
       * Returns a {@code Future} whose result is taken from this {@code Future} or, if this {@code
       * Future} fails with the given {@code exceptionType}, from the result provided by the {@code
       * fallback}. {@link Function#apply} is not invoked until the primary input has failed, so if the
       * primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. docs/bucket/replication/README.md

        "s3:ListBucketMultipartUploads",
        "s3:GetBucketLocation",
        "s3:GetBucketVersioning"
       ],
       "Resource": [
        "arn:aws:s3:::srcbucket"
       ]
      }
     ]
    }
    ```
    
    The access key provided for the replication *target* cluster should have these minimal permissions:
    
    ```
    {
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:GetReplicationConfiguration",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  5. internal/s3select/select.go

    	}
    
    	if parsedS3Select.Input.IsEmpty() {
    		return errMissingRequiredParameter(fmt.Errorf("InputSerialization must be provided"))
    	}
    
    	if parsedS3Select.Output.IsEmpty() {
    		return errMissingRequiredParameter(fmt.Errorf("OutputSerialization must be provided"))
    	}
    
    	statement, err := sql.ParseSelectStatement(parsedS3Select.Expression)
    	if err != nil {
    		return err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        assertFailsWith<Exception> {
          badPublicSuffixDatabase.getEffectiveTldPlusOne("squareup.com")
        }.also { e ->
          assertEquals(firstFailure.toString(), e.toString())
        }
      }
    
      /** These tests are provided by [publicsuffix.org](https://publicsuffix.org/list/). */
      @Test fun publicSuffixDotOrgTestCases() {
        // Any copyright is dedicated to the Public Domain.
        // https://creativecommons.org/publicdomain/zero/1.0/
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

      val b0 = this[index].code
      val b1 = this[index + 1].code
      return (b0 shl 7) + b1
    }
    
    /**
     * An extremely generic binary search that doesn't know what data it's searching over. The caller
     * provides indexes and a comparison function, and this calls that function iteratively.
     *
     * @return the index of the match. If no match is found this is `(-1 - insertionPoint)`, where the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 11:39:58 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/AbstractArtifactComponentTestCase.java

            DependencySelector depFilter = new AndDependencySelector(
                    ScopeDependencySelector.legacy(
                            null, Arrays.asList(DependencyScope.TEST.id(), DependencyScope.PROVIDED.id())),
                    OptionalDependencySelector.fromDirect(),
                    new ExclusionDependencySelector());
            session.setDependencySelector(depFilter);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/openapi-callbacks.md

    * Collect the money.
    * Send a notification back to the API user (the external developer).
        * This will be done by sending a POST request (from *your API*) to some *external API* provided by that external developer (this is the "callback").
    
    ## The normal **FastAPI** app
    
    Let's first see how the normal API app would look like before adding the callback.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/body-nested-models.md

    And the `dict` you receive as `weights` will actually have `int` keys and `float` values.
    
    ///
    
    ## Recap
    
    With **FastAPI** you have the maximum flexibility provided by Pydantic models, while keeping your code simple, short and elegant.
    
    But with all the benefits:
    
    * Editor support (completion everywhere!)
    * Data conversion (a.k.a. parsing / serialization)
    * Data validation
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top