Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1611 - 1620 of 4,355 for Reject (0.08 sec)

  1. docs_src/sql_databases/tutorial001_py310.py

    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/custom-response.md

    ```Python hl_lines="2  14"
    {!../../docs_src/custom_response/tutorial007.py!}
    ```
    
    #### Using `StreamingResponse` with file-like objects
    
    If you have a file-like object (e.g. the object returned by `open()`), you can create a generator function to iterate over that file-like object.
    
    That way, you don't have to read it all first in memory, and you can pass that generator function to the `StreamingResponse`, and return it.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/CollectionEqualsTester.java

      @SuppressWarnings("SelfEquals")
      public void testEquals_self() {
        assertTrue("An Object should be equal to itself.", collection.equals(collection));
      }
    
      public void testEquals_null() {
        // noinspection ObjectEqualsNull
        assertFalse("An object should not be equal to null.", collection.equals(null));
      }
    
      public void testEquals_notACollection() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/eventbus/PackageSanityTests.java

        @Subscribe
        public void handle(@Nullable Object unused) {}
    
        Subscriber toSubscriber() throws Exception {
          return Subscriber.create(eventBus, this, subscriberMethod());
        }
    
        SubscriberExceptionContext toContext() {
          return new SubscriberExceptionContext(eventBus, new Object(), this, subscriberMethod());
        }
    
        private static Method subscriberMethod() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

        private final Entry<K, V> delegate;
        private final Object mutex;
    
        TestEntry(Entry<K, V> delegate, Object mutex) {
          this.delegate = delegate;
          this.mutex = mutex;
        }
    
        @Override
        protected Entry<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          assertTrue(Thread.holdsLock(mutex));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_cookie_param_models/test_tutorial001.py

                                    "type": "array",
                                    "title": "Detail",
                                }
                            },
                            "type": "object",
                            "title": "HTTPValidationError",
                        },
                        "ValidationError": {
                            "properties": {
                                "loc": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/collection/ArrayMap.java

                listTable[i] = null;
            }
            size = 0;
        }
    
        /**
         * 配列に変換します。
         *
         * @return 配列
         */
        public Object[] toArray() {
            final Object[] array = new Object[size];
            for (int i = 0; i < array.length; i++) {
                array[i] = getAt(i);
            }
            return array;
        }
    
        /**
         * 配列に変換します。
         *
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsentity/dbmeta/RelatedContentDbm.java

        }
    
        @Override
        public void acceptAllColumnMap(Entity entity, Map<String, ? extends Object> allColumnMap) {
        }
    
        @Override
        public Map<String, Object> extractPrimaryKeyMap(Entity entity) {
            return null;
        }
    
        @Override
        public Map<String, Object> extractAllColumnMap(Entity entity) {
            return null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/bsentity/BsDuplicateHost.java

        //                                                                              ======
        @Override
        public Map<String, Object> toSource() {
            Map<String, Object> sourceMap = new HashMap<>();
            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
            if (createdTime != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/LinkedHashMultiset.java

    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class LinkedHashMultiset<E extends @Nullable Object>
        extends AbstractMapBasedMultiset<E> {
    
      /** Creates a new, empty {@code LinkedHashMultiset} using the default initial capacity. */
      public static <E extends @Nullable Object> LinkedHashMultiset<E> create() {
        return new LinkedHashMultiset<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top