Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1061 - 1070 of 1,597 for ways (0.03 sec)

  1. docs/en/docs/tutorial/testing.md

    Import `TestClient`.
    
    Create a `TestClient` by passing your **FastAPI** application to it.
    
    Create functions with a name that starts with `test_` (this is standard `pytest` conventions).
    
    Use the `TestClient` object the same way as you do with `httpx`.
    
    Write simple `assert` statements with the standard Python expressions that you need to check (again, standard `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py39.py hl[2,12,15:18] *}
    
    /// tip
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  2. docs/kms/README.md

    ### 3. Start the MinIO Server
    
    ```sh
    export MINIO_ROOT_USER=minio
    export MINIO_ROOT_PASSWORD=minio123
    minio server ~/export
    ```
    
    > The KES instance at `https://play.min.io:7373` is meant to experiment and provides a way to get started quickly.
    > Note that anyone can access or delete master keys at `https://play.min.io:7373`. You should run your own KES
    > instance in production.
    
    ## Configuration Guides
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/PredicatesTest.java

        tester.testAllPublicStaticMethods(Predicates.class);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testCascadingSerialization() throws Exception {
        // Eclipse says Predicate<Integer>; javac says Predicate<Object>.
        Predicate<? super Integer> nasty =
            Predicates.not(
                Predicates.and(
                    Predicates.or(
                        Predicates.equalTo((Object) 1),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

       */
      public fun requireClientAuth() {
        this.clientAuth = CLIENT_AUTH_REQUIRED
      }
    
      /**
       * Awaits the next HTTP request, removes it, and returns it. Callers should use this to verify the
       * request was sent as intended. This method will block until the request is available, possibly
       * forever.
       *
       * @return the head of the request queue
       */
      @Throws(InterruptedException::class)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          apply {
            altNames += altName
          }
    
        /**
         * Set this certificate's common name (CN). Historically this held the hostname of TLS
         * certificate, but that practice was deprecated by [RFC 2818][rfc_2818] and replaced with
         * [addSubjectAlternativeName]. If unset a random string will be used.
         *
         * [rfc_2818]: https://tools.ietf.org/html/rfc2818
         */
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AbstractService.java

                failureCause());
          }
          throw new IllegalStateException(
              "Expected the service " + this + " to be " + expected + ", but was " + actual);
        }
      }
    
      /**
       * Implementing classes should invoke this method once their service has started. It will cause
       * the service to transition from {@link State#STARTING} to {@link State#RUNNING}.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStream.java

         */
        @Override
        public int read(final byte[] b) throws IOException {
            return inputStream.read(b);
        }
    
        /**
         * Repositions this stream to the position at the time the mark method was last called.
         *
         * @throws IOException if this stream has not been marked or if the mark has been invalidated
         */
        @Override
        public synchronized void reset() throws IOException {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/Lmhosts.java

                                    continue;
                                }
    
                                /*
                                 * An include was loaded successfully. We can skip
                                 * all other includes up to the #END_ALTERNATE tag.
                                 */
    
                                while ((line = br.readLine()) != null) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractEntity.java

        }
    
        public void modifiedToSpecified() {
            if (__modifiedProperties.isEmpty()) {
                return; // basically no way when called in Framework (because called when SpecifyColumn exists)
            }
            __specifiedProperties = newModifiedProperties();
            __specifiedProperties.accept(__modifiedProperties);
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/middleware.md

    ```Python
    from unicorn import UnicornMiddleware
    
    app = SomeASGIApp()
    
    new_app = UnicornMiddleware(app, some_config="rainbow")
    ```
    
    But FastAPI (actually Starlette) provides a simpler way to do it that makes sure that the internal middlewares handle server errors and custom exception handlers work properly.
    
    For that, you use `app.add_middleware()` (as in the example for CORS).
    
    ```Python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top