Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2231 - 2240 of 3,297 for Gist (0.1 seconds)

  1. tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py

        assert response.json() == {
            "detail": {
                "errors": [
                    {
                        "type": "list_type",
                        "loc": ["body"],
                        "msg": "Input should be a valid list",
                        "input": {"numbers": [1, 2, 3]},
                    }
                ],
                # httpx 0.28.0 switches to compact JSON https://github.com/encode/httpx/issues/3363
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ApiChange.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import groovy.transform.Immutable
    
    @Immutable
    class ApiChange {
        String type
        String member
        List<String> changes
    
        static ApiChange parse(Object json) {
            new ApiChange(json.type, json.member, json.changes ?: [])
        }
    
        String toString() {
            def formattedMember = member - "$type."
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 1023 bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            return s == that.s;
          }
          return false;
        }
      }
    
      static class WithStreamParameter {
        private final List<?> list;
    
        // This should be ignored.
        public WithStreamParameter(Stream<?> s, String str) {
          this.list = s.collect(Collectors.toList());
          checkNotNull(str);
        }
      }
    
      static class UsesReferentialEquality {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/SecureKeyManager.java

                }
            }
    
            // Remove old versions
            int removed = 0;
            for (Map.Entry<String, java.util.List<String>> entry : sessionArchives.entrySet()) {
                java.util.List<String> archives = entry.getValue();
    
                // Sort by version number
                archives.sort((a, b) -> {
                    int versionA = extractVersion(a);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/response-model.md

    /// note | 備考
    
    `response_model`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数* のパラメータではありません。
    
    ///
    
    Pydanticモデルの属性に対して宣言するのと同じ型を受け取るので、Pydanticモデルになることもできますが、例えば、`List[Item]`のようなPydanticモデルの`list`になることもできます。
    
    FastAPIは`response_model`を使って以下のことをします:
    
    * 出力データを型宣言に変換します。
    * データを検証します。
    * OpenAPIの *path operation* で、レスポンス用のJSON Schemaを追加します。
    * 自動ドキュメントシステムで使用されます。
    
    しかし、最も重要なのは:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 9K bytes
    - Click Count (0)
  6. docs_src/body_nested_models/tutorial006_py310.py

        url: HttpUrl
        name: str
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
        images: list[Image] | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 475 bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/security/get-current-user.md

    Im vorherigen Kapitel hat das Sicherheitssystem (das auf dem Dependency Injection System basiert) der *Pfadoperation-Funktion* einen `token` vom Typ `str` überreicht:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    Aber das ist immer noch nicht so nützlich.
    
    Lassen wir es uns den aktuellen Benutzer überreichen.
    
    ## Ein Benutzermodell erstellen { #create-a-user-model }
    
    Erstellen wir zunächst ein Pydantic-Benutzermodell.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. .github/PULL_REQUEST_TEMPLATE

    This PR will be imported into Gerrit with the title and first
    comment (this text) used to generate the subject and body of
    the Gerrit change.
    
    **Please ensure you adhere to every item in this list.**
    
    More info can be found at https://github.com/golang/go/wiki/CommitMessage
    
    + The PR title is formatted as follows: `net/http: frob the quux before blarfing`
      + The package name goes before the colon
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/FindGradleClasspath.groovy

        @Override
        void transform(TransformOutputs outputs) {
            File artifactFile = artifact.get().asFile
            if (artifactFile.name == 'gradle-dependencies') {
                (artifactFile.listFiles() as List<File>).sort { it.name }.each {
                    outputs.file(it)
                }
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 1.7K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/web.xml

      <!--                                                                      Welcome File -->
      <!--                                                                      ============ -->
    <!--
        <welcome-file-list>
        </welcome-file-list>
      -->
    
      <!-- ================================================================================= -->
      <!--                                                                        JSP Config -->
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Tue May 06 09:19:22 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top