Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 1,184 for asdict (0.09 sec)

  1. docs_src/python_types/tutorial008_py39.py

    def process_items(prices: dict[str, float]):
        for item_name, item_price in prices.items():
            print(item_name)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jan 16 14:44:08 UTC 2022
    - 145 bytes
    - Viewed (0)
  2. docs/en/docs/advanced/testing-dependencies.md

    ### Use the `app.dependency_overrides` attribute
    
    For these cases, your **FastAPI** application has an attribute `app.dependency_overrides`, it is a simple `dict`.
    
    To override a dependency for testing, you put as a key the original dependency (a function), and as the value, your dependency override (another function).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

          @Override
          public UnmodifiableIterator<Entry<K, V>> iterator() {
            return asList().iterator();
          }
    
          @Override
          public Spliterator<Entry<K, V>> spliterator() {
            return asList().spliterator();
          }
    
          @Override
          public void forEach(Consumer<? super Entry<K, V>> action) {
            asList().forEach(action);
          }
    
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. docs_src/body_nested_models/tutorial009_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.post("/index-weights/")
    async def create_index_weights(weights: dict[int, float]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 154 bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

            });
        }
    
        // ===================================================================================
        //                                                                        Assist Logic
        //                                                                        ============
    
        protected void registerEnvItems(final RenderData data) {
            RenderDataUtil.register(data, "envItems", getEnvItems());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/EquivalenceTester.java

       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

        // Ensure that the Finalizer class has no nested classes.
        // See https://github.com/google/guava/issues/1505
        assertEquals(Collections.emptyList(), Arrays.asList(Finalizer.class.getDeclaredClasses()));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

       * objects in any other equivalence group added to this tester.
       */
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(T first, T... rest) {
        addEquivalenceGroup(Lists.asList(first, rest));
        return this;
      }
    
      @CanIgnoreReturnValue
      public EquivalenceTester<T> addEquivalenceGroup(Iterable<T> group) {
        delegate.addRelatedGroup(group);
        items.addAll(ImmutableList.copyOf(group));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. docs_src/extra_models/tutorial005_py39.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/keyword-weights/", response_model=dict[str, float])
    async def read_keyword_weights():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 180 bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

    import org.ysb33r.grolifant.api.core.jvm.ExecutionMode;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    import static java.util.Arrays.asList;
    import static java.util.Collections.singletonList;
    import static java.util.Collections.singletonMap;
    
    public class GradleUserManualPlugin implements Plugin<Project> {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top