Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 1,121 for deletes (0.08 sec)

  1. docs_src/sql_databases/tutorial001_py310.py

            raise HTTPException(status_code=404, detail="Hero not found")
        return hero
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: Session = Depends(get_session)):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    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. cmd/admin-heal-ops.go

    	ahs.Lock()
    	defer ahs.Unlock()
    
    	for _, ep := range healLocalDisks {
    		delete(ahs.healLocalDisks, ep)
    	}
    	for id, disk := range ahs.healStatus {
    		for _, ep := range healLocalDisks {
    			if disk.Endpoint == ep.String() {
    				delete(ahs.healStatus, id)
    			}
    		}
    	}
    }
    
    // updateHealStatus will update the heal status.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                if (isCommit) {
                    try {
                        dictionaryManager.store(KuromojiFile.this, newFile);
                    } finally {
                        newFile.delete();
                    }
                } else {
                    newFile.delete();
                }
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

        }
    
        // DELETE /api/admin/elevateword/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            try {
                elevateWordService.getElevateWord(id).ifPresent(entity -> {
                    try {
                        elevateWordService.delete(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs_src/sql_databases/tutorial001_an_py39.py

            raise HTTPException(status_code=404, detail="Hero not found")
        return hero
    
    
    @app.delete("/heroes/{hero_id}")
    def delete_hero(hero_id: int, session: SessionDep):
        hero = session.get(Hero, hero_id)
        if not hero:
            raise HTTPException(status_code=404, detail="Hero not found")
        session.delete(hero)
        session.commit()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/auth/AuthenticationManager.java

            return chains().get(stream -> stream.allMatch(c -> c.changePassword(username, password)));
        }
    
        public void delete(final User user) {
            chains().of(stream -> stream.forEach(c -> c.delete(user)));
        }
    
        public User load(final User user) {
            User u = user;
            for (final AuthenticationChain chain : chains) {
                u = chain.load(u);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/bsbhv/BsBoostDocumentRuleBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsertOrUpdate(entity, null, null);
        }
    
        public void delete(BoostDocumentRule entity) {
            doDelete(entity, null);
        }
    
        public void delete(BoostDocumentRule entity, RequestOptionCall<DeleteRequestBuilder> opLambda) {
            entity.asDocMeta().deleteOption(opLambda);
            doDelete(entity, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/es/config/bsbhv/BsRelatedContentBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsertOrUpdate(entity, null, null);
        }
    
        public void delete(RelatedContent entity) {
            doDelete(entity, null);
        }
    
        public void delete(RelatedContent entity, RequestOptionCall<DeleteRequestBuilder> opLambda) {
            entity.asDocMeta().deleteOption(opLambda);
            doDelete(entity, null);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/duplicatehost/ApiAdminDuplicatehostAction.java

        }
    
        // DELETE /api/admin/duplicatehost/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            duplicateHostService.getDuplicateHost(id).ifPresent(entity -> {
                try {
                    duplicateHostService.delete(entity);
                    saveInfo(messages -> messages.addSuccessCrudDeleteCrudTable(GLOBAL));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

                    }
                    try {
                        Files.delete(f);
                    } catch (final IOException e) {
                        logger.warn("Failed to delete {}", f, e);
                    }
                });
                Files.deleteIfExists(dir);
            } catch (final IOException e) {
                logger.warn("Failed to delete {}", dir, e);
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top