Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for tag2 (0.14 sec)

  1. okhttp/src/main/kotlin/okhttp3/Request.kt

         */
        fun <T : Any> tag(
          type: KClass<T>,
          tag: T?,
        ): Builder = commonTag(type, type.cast(tag))
    
        /** Attaches [tag] to the request using `Object.class` as a key. */
        open fun tag(tag: Any?): Builder = commonTag(Any::class, tag)
    
        /**
         * Attaches [tag] to the request using [type] as a key. Tags can be read from a
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/metadata.md

    ### Ihre Tags verwenden
    
    Verwenden Sie den Parameter `tags` mit Ihren *Pfadoperationen* (und `APIRouter`n), um diese verschiedenen Tags zuzuweisen:
    
    ```Python hl_lines="21  26"
    {!../../../docs_src/metadata/tutorial004.py!}
    ```
    
    !!! info
        Lesen Sie mehr zu Tags unter [Pfadoperation-Konfiguration](path-operation-configuration.md#tags){.internal-link target=_blank}.
    
    ### Die Dokumentation anschauen
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:25:38 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RequestTest.kt

        val tag = UUID.randomUUID()
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag(tag)
            .build()
        assertThat(request.tag()).isSameAs(tag)
        assertThat(request.tag(Any::class.java)).isSameAs(tag)
        assertThat(request.tag(UUID::class.java)).isNull()
        assertThat(request.tag(String::class.java)).isNull()
    
        // Alternate access APIs also work.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. CHANGELOG/CHANGELOG-1.20.md

    - Support [service.beta.kubernetes.io/azure-pip-ip-tags] annotations to allow customers to specify ip-tags to influence public-ip creation in Azure [Tag1=Value1, Tag2=Value2, etc.] ([#94114](https://github.com/kubernetes/kubernetes/pull/94114), [@MarcPow](https://github.com/MarcPow)) [SIG Cloud Provider]
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Wed Jan 19 21:05:45 GMT 2022
    - 409K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags com Enums
    
    Se você tem uma grande aplicação, você pode acabar acumulando **várias tags**, e você gostaria de ter certeza de que você sempre usa a **mesma tag** para *operações de rota* relacionadas.
    
    Nestes casos, pode fazer sentido armazenar as tags em um `Enum`.
    
    **FastAPI** suporta isso da mesma maneira que com strings simples:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/bigger-applications.md

    ### Einige benutzerdefinierte `tags`, `responses`, und `dependencies` hinzufügen
    
    Wir fügen weder das Präfix `/items` noch `tags=["items"]` zu jeder *Pfadoperation* hinzu, da wir sie zum `APIRouter` hinzugefügt haben.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/DispatcherTest.kt

      }
    
      private fun newRequest(url: String): Request {
        return Request.Builder().url(url).build()
      }
    
      private fun newRequest(
        url: String,
        tag: String,
      ): Request {
        return Request.Builder().url(url).tag(tag).build()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/generate-clients.md

    ## FastAPI-Anwendung mit Tags
    
    In vielen Fällen wird Ihre FastAPI-Anwendung größer sein und Sie werden wahrscheinlich Tags verwenden, um verschiedene Gruppen von *Pfadoperationen* zu separieren.
    
    Beispielsweise könnten Sie einen Abschnitt für **Items (Artikel)** und einen weiteren Abschnitt für **Users (Benutzer)** haben, und diese könnten durch Tags getrennt sein:
    
    === "Python 3.9+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/body-nested-models.md

        {!> ../../../docs_src/body_nested_models/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial001.py!}
        ```
    
    这将使 `tags` 成为一个由元素组成的列表。不过它没有声明每个元素的类型。
    
    ## 具有子类型的 List 字段
    
    但是 Python 有一种特定的方法来声明具有子类型的列表:
    
    ### 从 typing 导入 `List`
    
    首先,从 Python 的标准库 `typing` 模块中导入 `List`:
    
    ```Python hl_lines="1"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags with Enums
    
    If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*.
    
    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top