Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,398 for settings (0.1 sec)

  1. 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` 对象:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. 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")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Apr 14 14:24:05 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. build-logic-commons/settings.gradle.kts

    dependencyResolutionManagement {
        repositories {
            gradlePluginPortal()
        }
    }
    
    plugins {
        id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
    }
    
    includeBuild("../build-logic-settings")
    
    // Shared basics for all
    include("basics")
    
    // Platform: defines shared dependency versions
    include("build-platform")
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Nov 06 06:19:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. build-logic-settings/settings.gradle.kts

    plugins {
        id("com.gradle.develocity").version("3.18.1") // Run `java build-logic-settings/UpdateDevelocityPluginVersion.java <new-version>` to update
        id("io.github.gradle.gradle-enterprise-conventions-plugin").version("0.10.2")
        id("org.gradle.toolchains.foojay-resolver-convention").version("0.8.0")
    }
    
    include("build-environment")
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 06:42:50 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. .teamcity/pluginData/Check/plugin-settings.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <settings>
      <webhooks enabled="true">
        <webhook url="https://gradle-bot.grdev.net/teamcity_slacktemplate" enabled="true" template="slack.com">
          <states>
            <state type="buildAddedToQueue" enabled="false" />
            <state type="buildRemovedFromQueue" enabled="true" />
            <state type="buildStarted" enabled="true" />
            <state type="changesLoaded" enabled="true" />
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue May 18 02:15:16 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/resources/META-INF/maven/plugin-expressions/settings.paramdoc.xml

      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 ../../../../../../../maven-plugin-parameter-documenter/target/generated-site/xsd/paramdoc-1.0.0.xsd ">
      <expressions>
        <expression>
          <syntax>settings.offline</syntax>
          <configuration>
            <![CDATA[
        <offline>true</offline>
        ]]></configuration>
          <description>
            <![CDATA[
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. build-logic-settings/build-environment/src/main/kotlin/gradlebuild.build-environment.settings.gradle.kts

    Anže Sodja <******@****.***> 1721979852 +0200
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 26 07:44:12 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        // Write the mocking script.
        val settings1 = Settings()
        settings1[Settings.HEADER_TABLE_SIZE] = 10000
        settings1[Settings.INITIAL_WINDOW_SIZE] = 20000
        settings1[Settings.MAX_FRAME_SIZE] = 30000
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK SETTINGS
        val settings2 = Settings()
        settings2[Settings.INITIAL_WINDOW_SIZE] = 40000
        settings2[Settings.MAX_FRAME_SIZE] = 50000
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

        protected final String arraySettingsIndexName;
        protected final String settingsId;
        protected final SuggestSettings settings;
    
        private static final Base64.Encoder encoder = Base64.getEncoder();
    
        protected ArraySettings(final SuggestSettings settings, final Client client, final String settingsIndexName, final String settingsId) {
            this.settings = settings;
            this.client = client;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/suggest/SuggesterBuilderTest.java

            final Suggester suggester = Suggester.builder().settings(SuggestSettings.builder().setSettingsIndexName(settingsIndexName))
                    .readingConverter(converter).normalizer(normalizer).build(runner.client(), id);
    
            assertEquals(runner.client(), suggester.client);
    
            SuggestSettings settings = suggester.settings();
            assertEquals(settingsIndexName, settings.getSettingsIndexName());
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top