Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for TOGETHER (0.03 sec)

  1. tests/test_ambiguous_params.py

            return foo
    
        with pytest.raises(
            AssertionError,
            match=(
                "Cannot specify `Depends` in `Annotated` and default value"
                " together for 'foo'"
            ),
        ):
    
            @app.get("/")
            async def get2(foo: Annotated[int, Depends(dep)] = Depends(dep)):
                pass  # pragma: nocover
    
        with pytest.raises(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2K bytes
    - Viewed (1)
  2. docs/en/docs/advanced/events.md

    ///
    
    ### `startup` and `shutdown` together { #startup-and-shutdown-together }
    
    There's a high chance that the logic for your *startup* and *shutdown* is connected, you might want to start something and then finish it, acquire a resource and then release it, etc.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java

     */
    package org.codelibs.fess.suggest.normalizer;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * The NormalizerChain class implements the Normalizer interface and allows chaining multiple normalizers together.
     * It applies each normalizer in the order they were added to the chain.
     *
     * <p>Usage example:</p>
     * <pre>
     * NormalizerChain chain = new NormalizerChain();
     * chain.add(new SomeNormalizer());
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 17 14:23:01 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. lib/hg/goreposum.py

    cmdtable = {}
    command = registrar.command(cmdtable)
    @command(b'goreposum', [], _('url'), norepo=True)
    def goreposum(ui, url):
      """
      goreposum computes a checksum of all the named state in the remote repo.
      It hashes together all the branch names and hashes
      and then all the bookmark names and hashes.
      Tags are stored in .hgtags files in any of the branches,
      so the branch metadata includes the tags as well.
      """
      h = hashlib.sha256()
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Nov 11 15:21:02 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          // chain all entries together as we only have a single bucket
          entry = segment.newEntryForTesting(key, hash, entry);
          segment.setValueForTesting(entry, value);
        }
        segment.setTableEntryForTesting(0, entry);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        for (int i = 0; i < originalCount; i++) {
          Object key = new Object();
          Object value = new Object();
          int hash = map.hash(key);
          // chain all entries together as we only have a single bucket
          entry = segment.newEntryForTesting(key, hash, entry);
          segment.setValueForTesting(entry, value);
        }
        segment.setTableEntryForTesting(0, entry);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/background-tasks.md

    **FastAPI** knows what to do in each case and how to reuse the same object, so that all the background tasks are merged together and are run in the background afterwards:
    
    
    {* ../../docs_src/background_tasks/tutorial002_an_py310.py hl[13,15,22,25] *}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  8. fastapi/dependencies/utils.py

            assert depends is None, (
                "Cannot specify `Depends` in `Annotated` and default value"
                f" together for {param_name!r}"
            )
            assert field_info is None, (
                "Cannot specify a FastAPI annotation in `Annotated` and `Depends` as a"
                f" default value together for {param_name!r}"
            )
            depends = value
        # Get FieldInfo from default value
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 37.6K bytes
    - Viewed (3)
  9. docs/en/docs/tutorial/bigger-applications.md

    ## The main `FastAPI` { #the-main-fastapi }
    
    Now, let's see the module at `app/main.py`.
    
    Here's where you import and use the class `FastAPI`.
    
    This will be the main file in your application that ties everything together.
    
    And as most of your logic will now live in its own specific module, the main file will be quite simple.
    
    ### Import `FastAPI` { #import-fastapi }
    
    You import and create a `FastAPI` class as normally.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 10 08:55:32 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  10. okhttp-tls/README.md

        .build();
    OkHttpClient client = new OkHttpClient.Builder()
        .sslSocketFactory(clientCertificates.sslSocketFactory(), clientCertificates.trustManager())
        .build();
    
    // Connect 'em all together. Certificates are exchanged in the handshake.
    Call call = client.newCall(new Request.Builder()
        .url(server.url("/"))
        .build());
    Response response = call.execute();
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top