Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1431 - 1440 of 6,918 for RETURN (0.05 sec)

  1. docs_src/sql_databases/tutorial001.py

        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    ) -> List[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial001_py310.py

        session.add(hero)
        session.commit()
        session.refresh(hero)
        return hero
    
    
    @app.get("/heroes/")
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    ) -> list[Hero]:
        heroes = session.exec(select(Hero).offset(offset).limit(limit)).all()
        return heroes
    
    
    @app.get("/heroes/{hero_id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. internal/config/lambda/target/lazyinit.go

    	if atomic.LoadUint32(&l.done) == 0 {
    		return l.doSlow(f)
    	}
    	return nil
    }
    
    func (l *lazyInit) doSlow(f func() error) error {
    	l.m.Lock()
    	defer l.m.Unlock()
    	if atomic.LoadUint32(&l.done) == 0 {
    		if err := f(); err != nil {
    			return err
    		}
    		// Mark as done only when f() is successful
    		atomic.StoreUint32(&l.done, 1)
    	}
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 07 16:12:41 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/crawler/interval/FessIntervalController.java

        public long getDelayMillisAfterProcessing() {
            return delayMillisAfterProcessing;
        }
    
        public void setDelayMillisAfterProcessing(final long delayMillisAfterProcessing) {
            this.delayMillisAfterProcessing = delayMillisAfterProcessing;
        }
    
        public long getDelayMillisAtNoUrlInQueue() {
            return delayMillisAtNoUrlInQueue;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

      @Override
      public SampleElements<String> samples() {
        return new Strings();
      }
    
      @Override
      public List<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java

        }
    
        public Sitemap[] getSitemaps() {
            return sitemapList.toArray(new Sitemap[sitemapList.size()]);
        }
    
        public void setType(final String type) {
            this.type = type;
        }
    
        public boolean isUrlSet() {
            return URLSET.equals(type);
        }
    
        public boolean isIndex() {
            return INDEX.equals(type);
        }
    
        @Override
        public String toString() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java

        }
    
        public boolean isDebugEnabled() {
            return DEBUG.equals(logLevel);
        }
    
        public boolean isInfoEnabled() {
            return INFO.equals(logLevel);
        }
    
        public boolean isWarnEnabled() {
            return WARN.equals(logLevel);
        }
    
        public boolean isErrorEnabled() {
            return ERROR.equals(logLevel);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                return OptionalThing.of(statsKey.getId());
            }
            if (keyObj instanceof final String key) {
                return OptionalThing.of(key);
            }
            if (keyObj instanceof final Number key) {
                return OptionalThing.of(key.toString());
            }
            return OptionalThing.empty();
        }
    
        protected String escapeValue(final String action) {
            return action.replace('\t', ' ');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. docs_src/dependencies/tutorial011_an.py

        def __call__(self, q: str = ""):
            if q:
                return self.fixed_content in q
            return False
    
    
    checker = FixedContentQueryChecker("bar")
    
    
    @app.get("/query-checker/")
    async def read_query_check(fixed_content_included: Annotated[bool, Depends(checker)]):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 554 bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                return convertPrefixQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (DEFAULT_FIELD.equals(field)) {
                return convertDefaultTermQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (SORT_FIELD.equals(field)) {
                return convertSortQuery(fessConfig, context, termQuery, boost, field, text);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top