Search Options

Results per page
Sort
Preferred Languages
Advance

Results 5071 - 5080 of 7,014 for _return (0.05 sec)

  1. docs_src/query_params_str_validations/tutorial008_an.py

                min_length=3,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 540 bytes
    - Viewed (0)
  2. docs_src/schema_extra_example/tutorial003.py

                    "description": "A very nice Item",
                    "price": 35.4,
                    "tax": 3.2,
                }
            ],
        ),
    ):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 612 bytes
    - Viewed (0)
  3. .github/workflows/feedback.yml

    permissions: {}
    
    jobs:
      feedback:
        permissions:
          issues: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
          # Feedback loop: ask for something on PR/Issue and close if not provided or return to the queue on update.
          # https://github.com/gradle/issue-management-action/blob/main/src/feedback.ts
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 17 13:58:59 UTC 2024
    - 482 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

          this.value = value;
        }
    
        @Override
        public int hashCode() {
          return value.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof Foo) && ((Foo) o).value.equals(value);
        }
    
        @Override
        public int compareTo(Foo other) {
          return value.compareTo(other.value);
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

            new TestService() {
              @Override
              protected Executor executor() {
                return new Executor() {
                  @Override
                  public void execute(Runnable command) {}
                };
              }
    
              @Override
              protected String serviceName() {
                return "Foo";
              }
            };
        TimeoutException e =
            assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/NamingTest.java

            c.getNameServiceClient().getAllByName(getRequiredProperty("test.server.netbios"), true);
        }
    
    
        @Parameters ( name = "{0}" )
        public static Collection<Object> configs () {
            return getConfigs("smb1", "noUnicode", "forceUnicode", "noUnicode-cp850", "noUnicode-windows-1252", "smb2", "smb30", "smb31");
        }
    
    
        @Test
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                generateContents(tempDir, count);
    
                return tempDir;
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        private static void generateContents(final File dir, final int count) throws Exception {
            if (count <= 0) {
                return;
            }
    
            final String content = getHtmlContent(count);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  8. docs/en/docs/reference/response.md

    You can declare a parameter in a *path operation function* or dependency to be of type `Response` and then you can set data for the response like headers or cookies.
    
    You can also use it directly to create an instance of it and return it from your *path operations*.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Response
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 397 bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/handling-errors.md

    * The client doesn't have enough privileges for that operation.
    * The client doesn't have access to that resource.
    * The item the client was trying to access doesn't exist.
    * etc.
    
    In these cases, you would normally return an **HTTP status code** in the range of **400** (from 400 to 499).
    
    This is similar to the 200 HTTP status codes (from 200 to 299). Those "200" status codes mean that somehow there was a "success" in the request.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. cmd/api-errors.go

    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", region)
    			return apiErr
    		}
    	}
    	return apiErr
    }
    
    func (e errorCodeMap) ToAPIErr(errCode APIErrorCode) APIError {
    	return e.ToAPIErrWithErr(errCode, nil)
    }
    
    // error code to APIError structure, these fields carry respective
    // descriptions for all the error responses.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top