Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 997 for Params (0.09 sec)

  1. .teamcity/src/main/kotlin/promotion/PromotionProject.kt

            password("env.ORG_GRADLE_PROJECT_sdkmanToken", "%sdkmanToken%")
            param("env.JAVA_HOME", javaHome(BuildToolBuildJvm, Os.LINUX))
            // https://github.com/gradle/gradle-private/issues/4504
            param("env.JDK8", javaHome(OpenJdk8, Os.LINUX))
            param("env.JDK11", javaHome(OpenJdk11, Os.LINUX))
            param("env.JDK17", javaHome(OpenJdk17, Os.LINUX))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 09:53:08 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. tests/test_param_class.py

    from typing import Optional
    
    from fastapi import FastAPI
    from fastapi.params import Param
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/items/")
    def read_items(q: Optional[str] = Param(default=None)):  # type: ignore
        return {"q": q}
    
    
    client = TestClient(app)
    
    
    def test_default_param_query_none():
        response = client.get("/items/")
        assert response.status_code == 200, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 636 bytes
    - Viewed (0)
  3. container-tests/build.gradle.kts

      })
    }
    
    dependencies {
      api(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.junit.jupiter.api)
      testImplementation(libs.junit.jupiter.params)
      testImplementation(libs.junit.jupiter.engine)
      testImplementation(libs.assertk)
      testImplementation(libs.testcontainers)
      testImplementation(libs.mockserver)
      testImplementation(libs.mockserver.client)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                throw new IORuntimeException(e);
            }
        }
    
        protected HttpEntity parseRequestParameters(final String params, final List<Pair<String, String>> paramList, final String encoding) {
            try {
                final List<BasicNameValuePair> parameters =
                        StreamUtil.split(params, "&").get(stream -> stream.filter(StringUtil::isNotBlank).map(s -> {
                            final String name;
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

            Object proxy, Method method, @Nullable Object[] args) {
          Invokable<?, ?> invokable = interfaceType.method(method);
          ImmutableList<Parameter> params = invokable.getParameters();
          for (int i = 0; i < args.length; i++) {
            Parameter param = params.get(i);
            if (!isNullable(param)) {
              checkNotNull(args[i]);
            }
          }
          return dummyReturnValue(interfaceType.resolveType(method.getGenericReturnType()));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/body-fields.md

    ///
    
    ```Python hl_lines="11-14"
    {!> ../../docs_src/body_fields/tutorial001.py!}
    ```
    
    ////
    
    `Field` 的工作方式和 `Query`、`Path`、`Body` 相同,参数也相同。
    
    /// note | "技术细节"
    
    实际上,`Query`、`Path` 都是 `Params` 的子类,而 `Params` 类又是 Pydantic 中 `FieldInfo` 的子类。
    
    Pydantic 的 `Field` 返回也是 `FieldInfo` 的类实例。
    
    `Body` 直接返回的也是 `FieldInfo` 的子类的对象。后文还会介绍一些 `Body` 的子类。
    
    注意,从 `fastapi` 导入的 `Query`、`Path` 等对象实际上都是返回特殊类的函数。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsExcelExtractor.java

         * @see
         * org.codelibs.fess.crawler.extractor.impl.Extractor#getText(java.io.InputStream,
         * java.util.Map)
         */
        @Override
        public ExtractData getText(final InputStream in, final Map<String, String> params) {
            if (in == null) {
                throw new CrawlerSystemException("The inputstream is null.");
            }
            try {
                @SuppressWarnings("resource")
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. okhttp-idna-mapping-table/build.gradle.kts

    }
    
    dependencies {
      api(libs.squareup.okio)
      api(libs.squareup.kotlinPoet)
      testImplementation(libs.assertk)
      testImplementation(libs.junit.jupiter.api)
      testImplementation(libs.junit.jupiter.params)
    }
    
    animalsniffer {
      isIgnoreFailures = true
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue May 02 11:21:58 UTC 2023
    - 309 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                }
                saveInfo(messages -> messages.addSuccessUploadStemmeroverrideFile(GLOBAL));
                return redirectWith(getClass(), moreUrl("list/1").params("dictId", form.dictId));
            }).orElseGet(() -> {
                throwValidationError(messages -> messages.addErrorsFailedToUploadStemmeroverrideFile(GLOBAL), () -> uploadpage(form.dictId));
                return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/WebPlatformUrlTest.kt

    import okhttp3.HttpUrl.Companion.defaultPort
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okio.buffer
    import okio.source
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    /** Runs the web platform URL tests against Java URL models.  */
    class WebPlatformUrlTest {
      class TestDataParamProvider : SimpleProvider() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top