Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 290 for refresh (0.06 sec)

  1. docs_src/sql_databases/tutorial002_an_py39.py

    
    @app.post("/heroes/", response_model=HeroPublic)
    def create_hero(hero: HeroCreate, session: SessionDep):
        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
        session.refresh(db_hero)
        return db_hero
    
    
    @app.get("/heroes/", response_model=list[HeroPublic])
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

                op.setRefreshPolicy(Constants.TRUE);
            });
    
            final LabelTypeHelper labelTypeHelper = ComponentUtil.getLabelTypeHelper();
            if (labelTypeHelper != null) {
                labelTypeHelper.refresh(getLabelTypeList());
            }
        }
    
        protected void setupListCondition(final LabelTypeCB cb, final LabelTypePager labelTypePager) {
            if (StringUtil.isNotBlank(labelTypePager.name)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/cache/ForwardingLoadingCache.java

        return delegate().getAll(keys);
      }
    
      @Override
      public V apply(K key) {
        return delegate().apply(key);
      }
    
      @Override
      public void refresh(K key) {
        delegate().refresh(key);
      }
    
      /**
       * A simplified version of {@link ForwardingLoadingCache} where subclasses can pass in an already
       * constructed {@link LoadingCache} as the delegate.
       *
       * @since 10.0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Aug 06 17:12:03 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  4. docs_src/sql_databases/tutorial002_py310.py

    @app.post("/heroes/", response_model=HeroPublic)
    def create_hero(hero: HeroCreate, session: Session = Depends(get_session)):
        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
        session.refresh(db_hero)
        return db_hero
    
    
    @app.get("/heroes/", response_model=list[HeroPublic])
    def read_heroes(
        session: Session = Depends(get_session),
        offset: int = 0,
        limit: int = Query(default=100, le=100),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. internal/dsync/dsync-client_test.go

    	return restClient.Call("/v1/unlock", args)
    }
    
    func (restClient *ReconnectRESTClient) Refresh(ctx context.Context, args LockArgs) (refreshed bool, err error) {
    	return restClient.Call("/v1/refresh", args)
    }
    
    func (restClient *ReconnectRESTClient) ForceUnlock(ctx context.Context, args LockArgs) (reply bool, err error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 20 17:36:09 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  6. cmd/lock-rest-server.go

    type lockRESTServer struct {
    	ll *localLocker
    }
    
    // RefreshHandler - refresh the current lock
    func (l *lockRESTServer) RefreshHandler(args *dsync.LockArgs) (*dsync.LockResp, *grid.RemoteErr) {
    	resp := lockRPCRefresh.NewResponse()
    	refreshed, err := l.ll.Refresh(context.Background(), *args)
    	if err != nil {
    		return l.makeResp(resp, err)
    	}
    	if !refreshed {
    		return l.makeResp(resp, errLockNotFound)
    	}
    	return l.makeResp(resp, err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. docs/sts/client_grants/__init__.py

                                              preload_content=True,
                                              )
                if response.status != 200:
                    message = "Credential refresh failed, response: %s"
                    raise CredentialRetrievalError(
                        provider=method,
                        error_msg=message % response.status,
                    )
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

            : expireAfterAccessNanos;
      }
    
      /**
       * Specifies that active entries are eligible for automatic refresh once a fixed duration has
       * elapsed after the entry's creation, or the most recent replacement of its value. The semantics
       * of refreshes are specified in {@link LoadingCache#refresh}, and are performed by calling {@link
       * CacheLoader#reload}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/it/CrudTestBase.java

            while (idList.size() > 0 && count < NUM) {
                final String id = idList.get(0);
                checkDeleteMethod(getItemEndpointSuffix() + "/" + id.toString());
                refresh();
                idList = getIdList(searchBody);
                count += 1;
            }
        }
    
        @AfterAll
        protected static void tearDownAll() {
            deleteTestToken();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. docs_src/sql_databases/tutorial002_an.py

    
    @app.post("/heroes/", response_model=HeroPublic)
    def create_hero(hero: HeroCreate, session: SessionDep):
        db_hero = Hero.model_validate(hero)
        session.add(db_hero)
        session.commit()
        session.refresh(db_hero)
        return db_hero
    
    
    @app.get("/heroes/", response_model=List[HeroPublic])
    def read_heroes(
        session: SessionDep,
        offset: int = 0,
        limit: Annotated[int, Query(le=100)] = 100,
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top