Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 2,800 for int3 (0.02 sec)

  1. docs_src/sql_databases/tutorial001_an_py310.py

        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    def read_hero(hero_id: int, session: SessionDep) -> Hero:
        hero = session.get(Hero, hero_id)
        if not hero:
    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. src/main/java/org/codelibs/fess/es/config/bsbhv/BsCrawlingInfoBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<CrawlingInfoCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<CrawlingInfo> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<CrawlingInfo> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/es/config/bsbhv/BsElevateWordToLabelBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<ElevateWordToLabelCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<ElevateWordToLabel> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<ElevateWordToLabel> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<JobLogCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<JobLog> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<JobLog> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRoleTypeBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<RoleTypeCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<RoleType> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<RoleType> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/bsbhv/BsThumbnailQueueBhv.java

            doDelete(entity, null);
        }
    
        public int queryDelete(CBCall<ThumbnailQueueCB> cbLambda) {
            return doQueryDelete(createCB(cbLambda), null);
        }
    
        public int[] batchInsert(List<ThumbnailQueue> list) {
            return batchInsert(list, null, null);
        }
    
        public int[] batchInsert(List<ThumbnailQueue> list, RequestOptionCall<BulkRequestBuilder> call) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                }
              }
            };
    
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.peek());
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.next());
    
        assertEquals(1, (int) iter.peek());
        assertEquals(1, (int) iter.next());
    
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                }
              }
            };
    
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.peek());
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.peek());
        assertEquals(0, (int) iter.next());
    
        assertEquals(1, (int) iter.peek());
        assertEquals(1, (int) iter.next());
    
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

      }
    
      static void populateMultimapForValues(Multimap<Integer, String> multimap, String[] elements) {
        for (int i = 0; i < elements.length; i++) {
          multimap.put(i % 2, elements[i]);
        }
      }
    
      static void populateMultimapForKeys(Multimap<String, Integer> multimap, String[] elements) {
        for (int i = 0; i < elements.length; i++) {
          multimap.put(elements[i], i);
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. fastapi/encoders.py

    # Taken from Pydantic v1 as is
    # TODO: pv2 should this return strings instead?
    def decimal_encoder(dec_value: Decimal) -> Union[int, float]:
        """
        Encodes a Decimal as int of there's no exponent, otherwise float
    
        This is useful when we use ConstrainedDecimal to represent Numeric(x,0)
        where a integer (but not int typed) is used. Encoding this as a float
        results in failed round-tripping between encode and parse.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top