Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 158 for SETTINGS (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    /**
     * Settings describe characteristics of the sending peer, which are used by the receiving peer.
     * Settings are [connection][Http2Connection] scoped.
     */
    class Settings {
      /** Bitfield of which flags that values. */
      private var set: Int = 0
    
      /** Flag values. */
      private val values = IntArray(COUNT)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. docs/de/docs/advanced/settings.md

    ```Python hl_lines="10"
    {!../../../docs_src/settings/app02/config.py!}
    ```
    
    Beachten Sie, dass wir jetzt keine Standardinstanz `settings = Settings()` erstellen.
    
    ### Die Haupt-Anwendungsdatei
    
    Jetzt erstellen wir eine Abhängigkeit, die ein neues `config.Settings()` zurückgibt.
    
    === "Python 3.9+"
    
        ```Python hl_lines="6  12-13"
        {!> ../../../docs_src/settings/app02_an_py39/main.py!}
        ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:17:14 GMT 2024
    - 17.8K bytes
    - Viewed (0)
  3. docs/em/docs/advanced/settings.md

    ```Python hl_lines="2  5-8  11"
    {!../../../docs_src/settings/tutorial001.py!}
    ```
    
    !!! tip
        🚥 👆 💚 🕳 ⏩ 📁 & 📋, 🚫 ⚙️ 👉 🖼, ⚙️ 🏁 1️⃣ 🔛.
    
    ⤴️, 🕐❔ 👆 ✍ 👐 👈 `Settings` 🎓 (👉 💼, `settings` 🎚), Pydantic 🔜 ✍ 🌐 🔢 💼-😛 🌌,, ↖-💼 🔢 `APP_NAME` 🔜 ✍ 🔢 `app_name`.
    
    ⏭ ⚫️ 🔜 🗜 & ✔ 💽. , 🕐❔ 👆 ⚙️ 👈 `settings` 🎚, 👆 🔜 ✔️ 📊 🆎 👆 📣 (✅ `items_per_user` 🔜 `int`).
    
    ### ⚙️ `settings`
    
    ⤴️ 👆 💪 ⚙️ 🆕 `settings` 🎚 👆 🈸:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/settings.md

    ## Pydantic `Settings`
    
    Fortunately, Pydantic provides a great utility to handle these settings coming from environment variables with <a href="https://docs.pydantic.dev/latest/usage/pydantic_settings/" class="external-link" target="_blank">Pydantic: Settings management</a>.
    
    ### Install `pydantic-settings`
    
    First, install the `pydantic-settings` package:
    
    <div class="termy">
    
    ```console
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  5. docs/zh/docs/advanced/settings.md

    ```Python hl_lines="2  5-8  11"
    {!../../../docs_src/settings/tutorial001.py!}
    ```
    
    !!! tip
        如果您需要一个快速的复制粘贴示例,请不要使用此示例,而应使用下面的最后一个示例。
    
    然后,当您创建该 `Settings` 类的实例(在此示例中是 `settings` 对象)时,Pydantic 将以不区分大小写的方式读取环境变量,因此,大写的变量 `APP_NAME` 仍将为属性 `app_name` 读取。
    
    然后,它将转换和验证数据。因此,当您使用该 `settings` 对象时,您将获得您声明的类型的数据(例如 `items_per_user` 将为 `int` 类型)。
    
    ### 使用 `settings`
    
    然后,您可以在应用程序中使用新的 `settings` 对象:
    
    ```Python hl_lines="18-20"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  6. .teamcity/settings.kts

    bot-gradle <******@****.***> 1701734894 +0000
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  7. settings.gradle.kts

    project(":mockwebserver-junit4").name = "mockwebserver3-junit4"
    include(":mockwebserver-junit5")
    project(":mockwebserver-junit5").name = "mockwebserver3-junit5"
    
    val androidBuild: String by settings
    val graalBuild: String by settings
    val loomBuild: String by settings
    
    if (androidBuild.toBoolean()) {
      include(":regression-test")
    }
    
    if (graalBuild.toBoolean()) {
      include(":native-image-tests")
    }
    
    include(":okcurl")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. build-logic-commons/settings.gradle.kts

    József Bartók <******@****.***> 1705076565 +0200
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jan 12 16:22:45 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      }
    
      /** Merges [settings] into this peer's settings and sends them to the remote peer. */
      @Throws(IOException::class)
      fun setSettings(settings: Settings) {
        writer.withLock {
          this.withLock {
            if (isShutdown) {
              throw ConnectionShutdownException()
            }
            okHttpSettings.merge(settings)
          }
          writer.settings(settings)
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

      ) {
        if (streamId != 0) throw IOException("TYPE_SETTINGS streamId != 0")
        if (flags and FLAG_ACK != 0) {
          if (length != 0) throw IOException("FRAME_SIZE_ERROR ack frame should be empty!")
          handler.ackSettings()
          return
        }
    
        if (length % 6 != 0) throw IOException("TYPE_SETTINGS length % 6 != 0: $length")
        val settings = Settings()
        for (i in 0 until length step 6) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
Back to top