Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1691 - 1700 of 1,896 for methods_ (0.12 sec)

  1. docs/en/docs/tutorial/dependencies/classes-as-dependencies.md

    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="11-15"
    {!> ../../docs_src/dependencies/tutorial002.py!}
    ```
    
    ////
    
    Pay attention to the `__init__` method used to create the instance of the class:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="12"
    {!> ../../docs_src/dependencies/tutorial002_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

       * Why? We want for queries like containsKey(null) to return false, but the
       * GWT SortedMap implementation that we delegate to throws
       * NullPointerException if the comparator does. Since our construction
       * methods ensure that null is never present in the map, it's OK for the
       * comparator to look for it wherever it wants.
       *
       * Note that we do NOT touch the comparator returned by comparator(), which
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    In Python, you can create Context Managers by <a href="https://docs.python.org/3/reference/datamodel.html#context-managers" class="external-link" target="_blank">creating a class with two methods: `__enter__()` and `__exit__()`</a>.
    
    You can also use them inside of **FastAPI** dependencies with `yield` by using
    `with` or `async with` statements inside of the dependency function:
    
    ```Python hl_lines="1-9  13"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      }
    
      // The java7 branch has different code depending on whether the entry indexes fit in a byte,
      // short, or int. The small table in testBuildKeepingLast_allowsOverwrite will test the byte
      // case. This method tests the short case.
      public void testBuildKeepingLast_shortTable() {
        Builder<Integer, String> builder = ImmutableMap.builder();
        Map<Integer, String> expected = new LinkedHashMap<>();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/authorization/v1beta1/generated.proto

      // +optional
      optional string user = 3;
    
      // Groups is the groups you're testing for.
      // +optional
      repeated string group = 4;
    
      // Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer
      // it needs a reflection here.
      // +optional
      map<string, ExtraValue> extra = 5;
    
      // UID information about the requesting user.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  6. cmd/erasure-object_test.go

    	}
    
    	// Test use case 2: Make 9 disks offline, which leaves less than quorum number of disks
    	// in a 16 disk Erasure setup. The original disks are 'replaced' with
    	// naughtyDisks that fail after 'f' successful StorageAPI method
    	// invocations, where f - [0,2)
    
    	// Create "object" under "bucket".
    	_, err = obj.PutObject(ctx, bucket, object, mustGetPutObjReader(t, bytes.NewReader(buf), int64(len(buf)), "", ""), opts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. docs/bn/docs/index.md

    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    আপনি ইতিমধ্যে একটি API তৈরি করেছেন যা:
    
    - `/` এবং `/items/{item_id}` _paths_ এ HTTP অনুরোধ গ্রহণ করে।
    - উভয় *path*ই `GET` অপারেশন নেয় ( যা HTTP _methods_ নামেও পরিচিত)।
    - _path_ `/items/{item_id}`-এ একটি _path প্যারামিটার_ `item_id` আছে যা কিনা `int` হতে হবে।
    - _path_ `/items/{item_id}`-এর একটি ঐচ্ছিক `str` _query প্যারামিটার_ `q` আছে।
    
    ### ক্রিয়াশীল API নির্দেশিকা নথি
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  8. docs/es/docs/index.md

    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Ya creaste una API que:
    
    * Recibe HTTP requests en los _paths_ `/` y `/items/{item_id}`.
    * Ambos _paths_ toman operaciones `GET` (también conocido como HTTP _methods_).
    * El _path_ `/items/{item_id}` tiene un _path parameter_ `item_id` que debería ser un `int`.
    * El _path_ `/items/{item_id}` tiene un `str` _query parameter_ `q` opcional.
    
    ### Documentación interactiva de APIs
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

       */
      @Throws(IOException::class)
      private fun createTunnelRequest(route: Route): Request {
        val proxyConnectRequest =
          Request.Builder()
            .url(route.address.url)
            .method("CONNECT", null)
            .header("Host", route.address.url.toHostHeader(includeDefaultPort = true))
            .header("Proxy-Connection", "Keep-Alive") // For HTTP/1.0 proxies like Squid.
            .header("User-Agent", USER_AGENT)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

      @Throws(IOException::class)
      override fun writeTo(sink: BufferedSink) {
        writeOrCountBytes(sink, false)
      }
    
      /**
       * Either writes this request to [sink] or measures its content length. We have one method do
       * double-duty to make sure the counting and content are consistent, particularly when it comes
       * to awkward operations like measuring the encoded length of header strings, or the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top