Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 416 for qParams (0.25 sec)

  1. 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)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                }
                saveInfo(messages -> messages.addSuccessUploadKuromojiFile(GLOBAL));
                return redirectWith(getClass(), moreUrl("list/1").params("dictId", form.dictId));
            }).orElseGet(() -> {
                throwValidationError(messages -> messages.addErrorsFailedToUploadKuromojiFile(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.8K bytes
    - Viewed (0)
  3. 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)
  4. tests/test_tutorial/test_response_model/test_tutorial003_05.py

        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Here's your interdimensional portal."}
    
    
    def test_get_redirect():
        response = client.get("/portal", params={"teleport": True}, follow_redirects=False)
        assert response.status_code == 307, response.text
        assert response.headers["location"] == "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    
    
    def test_openapi_schema():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

        private static final List<Class<? extends Annotation>> NULLABLE_ANNOTATIONS = [Nullable, org.jetbrains.annotations.Nullable]
    
        NullabilityBreakingChangesRule(Map<String, Object> params) {
            super(params)
        }
    
        @Override
        Violation maybeViolation(JApiCompatibility member) {
    
            if (isNewOrRemoved(member)) {
                return null
            }
    
            List<String> warnings = []
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Apr 13 10:04:28 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. cmd/signature-v4-parser.go

    //	querystring += &X-Amz-Expires=timeout interval
    //	querystring += &X-Amz-SignedHeaders=signed_headers
    //	querystring += &X-Amz-Signature=signature
    //
    // verifies if any of the necessary query params are missing in the presigned request.
    func doesV4PresignParamsExist(query url.Values) APIErrorCode {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

    
    abstract class TestFilesCleanupService @Inject constructor(
        private val fileSystemOperations: FileSystemOperations
    ) : BuildService<TestFilesCleanupService.Params>, AutoCloseable, OperationCompletionListener {
    
        interface Params : BuildServiceParameters {
            val projectStates: MapProperty<String, TestFilesCleanupProjectState>
            val rootBuildDir: DirectoryProperty
    
            /**
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jul 28 16:19:47 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/util/UtilProject.kt

        buildType(RerunFlakyTest(Os.MACOS, Arch.AMD64))
        buildType(RerunFlakyTest(Os.MACOS, Arch.AARCH64))
        buildType(WarmupEc2Agent)
    
        buildType(PublishKotlinDslPlugin)
    
        params {
            param("env.DEVELOCITY_ACCESS_KEY", "%ge.gradle.org.access.key%")
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 521 bytes
    - Viewed (0)
Back to top