Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2131 - 2140 of 4,245 for get3 (0.09 seconds)

  1. docs_src/additional_responses/tutorial004_py39.py

    
    responses = {
        404: {"description": "Item not found"},
        302: {"description": "The item was moved"},
        403: {"description": "Not enough privileges"},
    }
    
    
    app = FastAPI()
    
    
    @app.get(
        "/items/{item_id}",
        response_model=Item,
        responses={**responses, 200: {"content": {"image/png": {}}}},
    )
    async def read_item(item_id: str, img: Union[bool, None] = None):
        if img:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 701 bytes
    - Click Count (0)
  2. docs_src/generate_clients/tutorial002_py39.py

    class User(BaseModel):
        username: str
        email: str
    
    
    @app.post("/items/", response_model=ResponseMessage, tags=["items"])
    async def create_item(item: Item):
        return {"message": "Item received"}
    
    
    @app.get("/items/", response_model=list[Item], tags=["items"])
    async def get_items():
        return [
            {"name": "Plumbus", "price": 3},
            {"name": "Portal Gun", "price": 9001},
        ]
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Mar 04 22:02:18 GMT 2022
    - 730 bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/exception/UserRoleLoginException.java

         */
        public UserRoleLoginException(final Class<? extends RootAction> actionClass) {
            this.actionClass = actionClass;
        }
    
        /**
         * Gets the action class associated with this exception.
         *
         * @return the action class that requires specific user roles
         */
        public Class<? extends RootAction> getActionClass() {
            return actionClass;
        }
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

        .connectionSpecs(listOf(*specs))
        .build()
    
    private fun sendRequest(
      client: OkHttpClient,
      url: String,
    ) {
      System.out.printf("%-40s ", url)
      System.out.flush()
      println(Platform.get())
      val request =
        Request
          .Builder()
          .url(url)
          .build()
      try {
        client.newCall(request).execute().use { response ->
          val handshake = response.handshake
          println(
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu May 22 14:39:30 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadataGenerator.java

            for (Artifact artifact : artifacts) {
                Object key = VersionsMetadata.getKey(artifact);
                if (processedVersions.get(key) == null) {
                    VersionsMetadata versionsMetadata = versions.get(key);
                    if (versionsMetadata == null) {
                        versionsMetadata = new VersionsMetadata(artifact, timestamp);
                        versions.put(key, versionsMetadata);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/HashMultimapTest.java

        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
        assertEquals(2, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromMultimap() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

        return delegate.size();
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return delegate.containsKey(key);
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return delegate.get(key);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ImmutableEnumMap) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/xml/ParametricNullness.java

     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
     *   <li>methods whose return type is a type variable but which can return {@code null} regardless
     *       of the type argument supplied by the user of the class: For example, {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/HashMultimapTest.java

        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
        multimap.put("bar", 2);
        multimap.put("foo", 3);
        assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
        assertEquals(2, multimap.expectedValuesPerKey);
      }
    
      public void testCreateFromMultimap() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
        multimap.put("foo", 1);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  10. guava/src/com/google/common/io/ParametricNullness.java

     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
     *   <li>methods whose return type is a type variable but which can return {@code null} regardless
     *       of the type argument supplied by the user of the class: For example, {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
Back to Top