Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1871 - 1880 of over 10,000 for Switch (0.1 seconds)

  1. docs/en/docs/advanced/sub-applications.md

    If you need to have two independent FastAPI applications, with their own independent OpenAPI and their own docs UIs, you can have a main app and "mount" one (or more) sub-application(s).
    
    ## Mounting a **FastAPI** application { #mounting-a-fastapi-application }
    
    "Mounting" means adding a completely "independent" application in a specific path, that then takes care of handling everything under that path, with the _path operations_ declared in that sub-application.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  2. fastapi/.agents/skills/fastapi/references/dependencies.md

    * They need to handle cleanup (e.g., DB sessions, file handles), using dependencies with `yield`
    * Their logic needs input data from the request, like headers, query parameters, etc.
    
    ## Dependencies with `yield` and `scope`
    
    When using dependencies with `yield`, they can have a `scope` that defines when the exit code is run.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 3.2K bytes
    - Click Count (0)
  3. cmd/common-main_test.go

    				},
    				{
    					Key:   "MINIO_ROOT_PASSWORD",
    					Value: "minio123",
    				},
    			},
    		},
    		// Value with double quotes
    		{
    			`export MINIO_ROOT_USER="minio"`,
    			false,
    			[]envKV{
    				{
    					Key:   "MINIO_ROOT_USER",
    					Value: "minio",
    				},
    			},
    		},
    		// Value with single quotes
    		{
    			`export MINIO_ROOT_USER='minio'`,
    			false,
    			[]envKV{
    				{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.7K bytes
    - Click Count (2)
  4. .dir-locals.el

              (let ((endpoint (point)))
                (beginning-of-line)
                (if (re-search-forward "[ ]*);$" endpoint t) t nil))))
    
          (defun my/prev-line-call-with-no-args-p ()
            "Return true if the previous line is a function call with no arguments"
            (save-excursion
              (let ((start (point)))
                (forward-line -1)
                (if (re-search-forward ".($" start t) t nil))))
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Apr 14 14:50:53 GMT 2017
    - 3.3K bytes
    - Click Count (0)
  5. ci/official/utilities/cleanup_docker.sh

    cat <<EOF
    IMPORTANT: These tests ran under docker. This script does not clean up the
    container for you! You can delete the container with:
    
    $ docker rm -f tf
    
    You can also execute more commands within the container with e.g.:
    
    $ docker exec tf bazel clean
    $ docker exec -it tf bash
    EOF
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Thu Aug 10 20:26:29 GMT 2023
    - 998 bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java

            }
    
            @Test
            @DisplayName("Should return 0 with empty buffer")
            void testReadBytesWireFormatEmptyBuffer() {
                byte[] buffer = new byte[0];
                int result = request.readBytesWireFormat(buffer, 0);
                assertEquals(0, result);
            }
    
            @Test
            @DisplayName("Should return 0 with null buffer")
            void testReadBytesWireFormatNullBuffer() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.8K bytes
    - Click Count (0)
  7. tests/test_sse.py

    
    def test_server_sent_event_null_id_rejected():
        with pytest.raises(ValueError, match="null"):
            ServerSentEvent(data="test", id="has\0null")
    
    
    def test_server_sent_event_negative_retry_rejected():
        with pytest.raises(ValueError):
            ServerSentEvent(data="test", retry=-1)
    
    
    def test_server_sent_event_float_retry_rejected():
        with pytest.raises(ValueError):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/ArchetypeGraph.java

       * endpoints are unordered; it simply returns false. This is for consistency with the behavior of
       * {@link Collection#contains(Object)} (which does not generally throw if the object cannot be
       * present in the collection), and the desire to have this method's behavior be compatible with
       * {@code edges().contains(endpoints)}.
       *
       * @since 27.1
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  9. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

          --enable-linker-build-id \
          --enable-plugin \
          --enable-shared \
          --enable-threads=posix \
          --with-default-libstdcxx-abi=${LIBSTDCXX_ABI} \
          --with-gcc-major-version-only \
          --with-linker-hash-style="gnu" \
          --with-tune="generic" \
          && \
        make -j 42 && \
        make install
    
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Jan 16 21:51:13 GMT 2026
    - 8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAdd_unsupportedNotPresent()} so that tests
       * can suppress it with {@code FeatureSpecificTestSuiteBuilder.suppressing()} while we figure out
       * what to do with <a
       * href="https://github.com/openjdk/jdk/blob/c25c4896ad9ef031e3cddec493aef66ff87c48a7/src/java.base/share/classes/java/util/concurrent/ConcurrentHashMap.java#L4830">{@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top