Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 229 for getKind (0.07 sec)

  1. docs/en/docs/tutorial/handling-errors.md

    The exception handler will receive a `Request` and the exception.
    
    ```Python hl_lines="2  14-16"
    {!../../docs_src/handling_errors/tutorial004.py!}
    ```
    
    Now, if you go to `/items/foo`, instead of getting the default JSON error with:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "path",
                    "item_id"
                ],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_bigger_applications/test_main_an.py

        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Admin getting schwifty"}
    
    
    def test_admin_invalid_header(client: TestClient):
        response = client.post("/admin/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

      /**
       * Views the array as an immutable list. The array must have only {@code E} elements.
       *
       * <p>The array must be internally created.
       */
      @SuppressWarnings("unchecked") // caller is reponsible for getting this right
      static <E> ImmutableList<E> asImmutableList(Object[] elements) {
        return unsafeDelegateList((List) Arrays.asList(elements));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 22:14:46 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SID.java

            return new SID(this,
                        SID_TYPE_DOMAIN,
                        this.domainName,
                        null,
                        getType() != SID_TYPE_DOMAIN);
        }
        public int getRid() {
            if (getType() == SID_TYPE_DOMAIN)
                throw new IllegalArgumentException("This SID is a domain sid");
            return sub_authority[sub_authority_count - 1];
        }
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 26.6K bytes
    - Viewed (0)
  5. docs/uk/docs/index.md

    ## Враження
    
    "_[...] I'm using **FastAPI** a ton these days. [...] I'm actually planning to use it for all of my team's **ML services at Microsoft**. Some of them are getting integrated into the core **Windows** product and some **Office** products._"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

                + (throwable == null ? null : Throwables.getStackTraceAsString(throwable)),
            throwableFromOtherThread.get());
      }
    
      /**
       * Test for a bug where threads weren't getting signaled when shutdown was called, only when tasks
       * completed.
       */
      public void testDirectExecutorService_awaitTermination_missedSignal() {
        final ExecutorService service = newDirectExecutorService();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * requests become more likely to trigger expensive operations (a more extreme case of this
       * example is when a server has just booted, and it is mostly busy with getting itself up to
       * speed).
       *
       * To deal with such scenarios, we add an extra dimension, that of "past underutilization",
       * modeled by "storedPermits" variable. This variable is zero when there is no underutilization,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

    // already-finalized operation.
    //
    // Note that TFE_OpGetFlatInputCount and TFE_OpGetFlatInput operate on a flat
    // sequence of inputs, unlike TFE_OpGetInputLength (for getting the length of a
    // particular named input list, which may only be part of the op's inputs).
    TF_CAPI_EXPORT extern int TFE_OpGetFlatInputCount(const TFE_Op* op,
                                                      TF_Status* status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbCopyUtil.java

                    else if ( dh.hasCapability(SmbConstants.CAP_NT_SMBS) ) {
                        // use the open file descriptor
                        dh.send(
                            new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
                            new Trans2SetFileInformationResponse(dh.getConfig()));
                    }
                    else {
                        dh.send(
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

                            off += n;
                            len -= n;
                            continue;
                        }
    
                        SmbComReadAndX request = new SmbComReadAndX(th.getConfig(), fd.getFid(), this.fp, r, null);
                        if ( type == SmbConstants.TYPE_NAMED_PIPE ) {
                            request.setMinCount(1024);
                            request.setMaxCount(1024);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
Back to top