Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,077 for asdict (0.03 sec)

  1. tests/test_tutorial/test_path_params/test_tutorial003.py

    @pytest.mark.parametrize(
        ("user_id", "expected_response"),
        [
            ("me", {"user_id": "the current user"}),
            ("alice", {"user_id": "alice"}),
        ],
    )
    def test_get_users(user_id: str, expected_response: dict):
        response = client.get(f"/users/{user_id}")
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    
    
    def test_openapi_schema():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.dict.DictionaryException;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * Manages a dictionary file for stopwords.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/testing.md

    그 후, 테스트에서도 동일하게 적용하면 됩니다.
    
    예시:
    
    * *경로* 혹은 *쿼리* 매개변수를 전달하려면, URL 자체에 추가한다.
    * JSON 본문을 전달하려면, 파이썬 객체 (예를들면 `dict`) 를 `json` 파라미터로 전달한다.
    * JSON 대신 *폼 데이터* 를 보내야한다면, `data` 파라미터를 대신 전달한다.
    * *헤더* 를 전달하려면, `headers` 파라미터에 `dict` 를 전달한다.
    * *쿠키* 를 전달하려면, `cookies` 파라미터에 `dict` 를 전달한다.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/io/FilesTest.java

                return out.toByteArray();
              }
            };
    
        File asciiFile = getTestFile("ascii.txt");
        byte[] result = Files.readBytes(asciiFile, processor);
        assertEquals(Bytes.asList(Files.toByteArray(asciiFile)), Bytes.asList(result));
      }
    
      public void testReadBytes_returnFalse() throws IOException {
        ByteProcessor<byte[]> processor =
            new ByteProcessor<byte[]>() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSessionBuilderSupplier.java

        }
    
        protected DependencySelector getDependencySelector() {
            return new AndDependencySelector(
                    ScopeDependencySelector.legacy(
                            null, Arrays.asList(DependencyScope.TEST.id(), DependencyScope.PROVIDED.id())),
                    OptionalDependencySelector.fromDirect(),
                    new ExclusionDependencySelector());
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 09:40:15 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. docs/de/docs/how-to/custom-request-and-route.md

    Ein `Request` hat auch ein `request.receive`, welches eine Funktion ist, die den Body des Requests <abbr title="Englisch „receive“">empfängt</abbr>.
    
    Das `scope`-`dict` und die `receive`-Funktion sind beide Teil der ASGI-Spezifikation.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 13:54:34 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  7. helm/minio/templates/_helpers.tpl

      {{- else }}
        {{- include "minio.getValueFromSecret" (dict "Namespace" .Release.Namespace "Name" (include "minio.fullname" .) "Length" 20 "Key" "rootUser") }}
      {{- end }}
    {{- end -}}
    
    {{- define "minio.root.password" -}}
      {{- if .Values.rootPassword }}
        {{- .Values.rootPassword | toString }}
      {{- else }}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Aug 06 23:48:24 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

    import org.codelibs.core.io.CloseableUtil;
    import org.codelibs.core.lang.StringUtil;
    import org.codelibs.curl.CurlResponse;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.dict.DictionaryException;
    import org.codelibs.fess.dict.DictionaryFile;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.KuromojiCSVUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * A dictionary file for Kuromoji.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 07:09:00 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/metadata.md

    | `version` | `string` | API의 버전입니다. OpenAPI의 버전이 아닌, 여러분의 애플리케이션의 버전을 나타냅니다. 예: `2.5.0` |
    | `terms_of_service` | `str` | API 이용 약관의 URL입니다. 제공하는 경우 URL 형식이어야 합니다. |
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. tests/test_pydantic_v1_error.py

        class ModelV1A(BaseModel):
            name: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
            @app.post("/union")
            def endpoint(data: Union[dict, ModelV1A]):  # pragma: no cover
                return data
    
    
    def test_raises_pydantic_v1_model_in_sequence() -> None:
        class ModelV1A(BaseModel):
            name: str
    
        app = FastAPI()
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 2.3K bytes
    - Viewed (0)
Back to top