Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,846 for Turing (0.17 sec)

  1. cmd/apierrorcode_string.go

    func (i APIErrorCode) String() string {
    	if i < 0 || i >= APIErrorCode(len(_APIErrorCode_index)-1) {
    		return "APIErrorCode(" + strconv.FormatInt(int64(i), 10) + ")"
    	}
    	return _APIErrorCode_name[_APIErrorCode_index[i]:_APIErrorCode_index[i+1]]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/using-request-directly.md

    Angenommen, Sie möchten auf die IP-Adresse/den Host des Clients in Ihrer *Pfadoperation-Funktion* zugreifen.
    
    Dazu müssen Sie direkt auf den Request zugreifen.
    
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    Durch die Deklaration eines *Pfadoperation-Funktionsparameters*, dessen Typ der `Request` ist, weiß **FastAPI**, dass es den `Request` diesem Parameter übergeben soll.
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:18:32 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/using-request-directly.md

    不过,仍可以验证、转换与注释(使用 Pydantic 模型的请求体等)其它正常声明的参数。
    
    但在某些特定情况下,还是需要提取 `Request` 对象。
    
    ## 直接使用 `Request` 对象
    
    假设要在*路径操作函数*中获取客户端 IP 地址和主机。
    
    此时,需要直接访问请求。
    
    ```Python hl_lines="1  7-8"
    {!../../../docs_src/using_request_directly/tutorial001.py!}
    ```
    
    把*路径操作函数*的参数类型声明为 `Request`,**FastAPI** 就能把 `Request` 传递到参数里。
    
    !!! tip "提示"
    
        注意,本例除了声明请求参数之外,还声明了路径参数。
    
        因此,能够提取、验证路径参数、并转换为指定类型,还可以用 OpenAPI 注释。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:44:02 GMT 2024
    - 2K bytes
    - Viewed (0)
  4. internal/crypto/error.go

    // Error is the generic type for any error happening during decrypting
    // an object. It indicates that the object itself or its metadata was
    // modified accidentally or maliciously.
    type Error struct {
    	msg   string
    	cause error
    }
    
    // Errorf - formats according to a format specifier and returns
    // the string as a value that satisfies error of type crypto.Error
    func Errorf(format string, a ...interface{}) error {
    	e := fmt.Errorf(format, a...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  5. RELEASE.md

            `tf.string_join`), `tf.strings.regex_replace`, `tf.strings.to_number`
            (corresponds to `tf.string_to_number`), `tf.strings.strip` (corresponds
            to `tf.string_strip`), `tf.strings.substr`, `tf.strings.to_hash_bucket`
            (corresponds to `tf.string_to_hash_bucket`),
            `tf.strings.to_hash_bucket_fast` (corresponds to
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. istioctl/pkg/writer/compare/comparator_test.go

    	}
    
    	var outputBuffer bytes.Buffer
    	comparator, err := NewComparator(&outputBuffer, map[string][]byte{"default": cfg}, cfg)
    	if err != nil {
    		t.Fatalf("Failed to create Comparator: %v", err)
    	}
    	err = comparator.Diff()
    	if err != nil {
    		t.Errorf("Unexpected error during diff: %v", err)
    	}
    
    	expected := []string{"Clusters Match", "Listeners Match", "Routes Match"}
    	for _, exp := range expected {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

            val generatedTopLevelClassifiers = declarationGenerators
                .asSequence()
                .flatMap {
                    // FIXME this function should be called only once during plugin's lifetime, so this usage is not really correct (2)
                    it.getTopLevelClassIds()
                }
                .filter { it.packageFqName == packageFqName }
                .map { it.shortClassName }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  8. docs/en/docs/fastapi-people.md

    ### FastAPI Experts - Last Month
    
    These are the users that have been [helping others the most with questions in GitHub](help-fastapi.md#help-others-with-questions-in-github){.internal-link target=_blank} during the last month. 🤓
    
    {% if people %}
    <div class="user-list user-list-center">
    {% for user in people.last_month_experts[:10] %}
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 16 23:54:24 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // the network identity of the set. Pods get DNS/hostnames that follow the
      // pattern: pod-specific-string.serviceName.default.svc.cluster.local
      // where "pod-specific-string" is managed by the StatefulSet controller.
      optional string serviceName = 5;
    
      // podManagementPolicy controls how pods are created during initial scale up,
      // when replacing pods on nodes, or when scaling down. The default policy is
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/TearDownAccepter.java

      /**
       * Registers a TearDown implementor which will be run after the test proper.
       *
       * <p>In JUnit4 language, that means as an {@code @After}.
       *
       * <p>In JUnit3 language, that means during the {@link junit.framework.TestCase#tearDown()} step.
       */
      void addTearDown(TearDown tearDown);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.3K bytes
    - Viewed (0)
Back to top