Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 85 for Tuple1 (0.05 sec)

  1. docs_src/python_types/tutorial007.py

    from typing import Set, Tuple
    
    
    def process_items(items_t: Tuple[int, int, str], items_s: Set[bytes]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Apr 11 17:20:32 UTC 2020
    - 131 bytes
    - Viewed (0)
  2. docs/vi/docs/python-types.md

    Chú ý rằng, biến `item` là một trong các phần tử trong danh sách `items`.
    
    Và do vậy, trình soạn thảo biết nó là một `str`, và cung cấp sự hỗ trợ cho nó.
    
    #### Tuple and Set
    
    Bạn sẽ làm điều tương tự để khai báo các `tuple` và  các `set`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial007_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. docs/de/docs/python-types.md

    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    Verwenden Sie für den Rest, wie unter Python 3.8, das `typing`-Modul:
    
    * `Union`
    * `Optional`
    * ... und andere.
    
    ////
    
    //// tab | Python 3.8+
    
    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Union`
    * `Optional`
    * ... und andere.
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

          eventListener.requestFailed(call, e)
          trackFailure(e)
          throw e
        }
      }
    
      @Throws(IOException::class)
      fun createRequestBody(
        request: Request,
        duplex: Boolean,
      ): Sink {
        this.isDuplex = duplex
        val contentLength = request.body!!.contentLength()
        eventListener.requestBodyStart(call)
        val rawRequestBody = codec.createRequestBody(request, contentLength)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. docs_src/python_types/tutorial007_py39.py

    def process_items(items_t: tuple[int, int, str], items_s: set[bytes]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 99 bytes
    - Viewed (0)
  6. docs/nl/docs/python-types.md

    Merk op dat de variabele `item` een van de elementen is in de lijst `items`.
    
    Toch weet de editor dat het een `str` is, en biedt daar vervolgens ondersteuning voor aan.
    
    #### Tuple en Set
    
    Je kunt hetzelfde doen om `tuple`s en `set`s te declareren:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="1"
    {!> ../../docs_src/python_types/tutorial007_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_3x.md

        Interceptors that rewrite or replace the request body may now inadvertently interfere with
        duplex request bodies. Such interceptors should check `RequestBody.isDuplex()` and avoid
        accessing the request body when it is.
    
        Duplex calls require HTTP/2. If HTTP/1 is established instead the duplex call will fail. The
        most common use of duplex calls is [gRPC][grpc_http2].
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  8. docs/bn/docs/python-types.md

    আপনি সেই একই বিল্টইন টাইপ জেনেরিক্স হিসেবে ব্যবহার করতে পারবেন(ভিতরে টাইপ সহ স্কয়ারে ব্রাকেট দিয়ে):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    এবং Python 3.8 এর মতোই, `typing` মডিউল থেকে:
    
    * `Union`
    * `Optional`
    * ...এবং অন্যান্য।
    
    ////
    
    //// tab | Python 3.8+
    
    * `List`
    * `Tuple`
    * `Set`
    * `Dict`
    * `Union`
    * `Optional`
    * ...এবং অন্যান্য।
    
    ////
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  9. docs/tr/docs/python-types.md

    #### `Tuple` ve `Set`
    
    `Tuple` ve `set`lerin tiplerini bildirmek için de aynısını yapıyoruz:
    
    ```Python hl_lines="1  4"
    {!../../docs_src/python_types/tutorial007.py!}
    ```
    
    Bu şu anlama geliyor:
    
    * `items_t` değişkeni sırasıyla `int`, `int`, ve `str` tiplerinden oluşan bir `tuple` türündedir .
    * `items_s` ise her öğesi `bytes` türünde olan bir `set` örneğidir.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. fastapi/encoders.py

        AnyUrl: str,
    }
    
    
    def generate_encoders_by_class_tuples(
        type_encoder_map: Dict[Any, Callable[[Any], Any]],
    ) -> Dict[Callable[[Any], Any], Tuple[Any, ...]]:
        encoders_by_class_tuples: Dict[Callable[[Any], Any], Tuple[Any, ...]] = defaultdict(
            tuple
        )
        for type_, encoder in type_encoder_map.items():
            encoders_by_class_tuples[encoder] += (type_,)
        return encoders_by_class_tuples
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top