Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 888 for deleteSV (0.25 sec)

  1. docs_src/sql_databases/tutorial002_an.py

        session.add(hero_db)
        session.commit()
        session.refresh(hero_db)
        return hero_db
    
    
    @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
    - 2.6K bytes
    - Viewed (0)
  2. docs_src/sql_databases/tutorial002_py39.py

        session.commit()
        session.refresh(hero_db)
        return hero_db
    
    
    @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
    - 2.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_sql_databases/test_tutorial002.py

            )
    
            # Delete a hero
            response = client.delete(f"/heroes/{hero_id}")
            assert response.status_code == 200, response.text
            assert response.json() == snapshot({"ok": True})
    
            # The hero is no longer found
            response = client.get(f"/heroes/{hero_id}")
            assert response.status_code == 404, response.text
    
            # Delete a hero that does not exist
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  4. 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)
  5. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

          assertThat(temp.isDirectory()).isTrue();
          assertThat(temp.listFiles()).isEmpty();
          File child = new File(temp, "child");
          assertThat(child.createNewFile()).isTrue();
          assertThat(child.delete()).isTrue();
    
          if (!isAndroid() && !isWindows()) {
            PosixFileAttributes attributes =
                java.nio.file.Files.getFileAttributeView(temp.toPath(), PosixFileAttributeView.class)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

        }
    
        // DELETE /api/admin/fileauth/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            fileAuthService.getFileAuthentication(id).ifPresent(entity -> {
                try {
                    fileAuthService.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.8K bytes
    - Viewed (0)
  9. cmd/metacache.go

    }
    
    // delete all cache data on disks.
    func (m *metacache) delete(ctx context.Context) {
    	if m.bucket == "" || m.id == "" {
    		bugLogIf(ctx, fmt.Errorf("metacache.delete: bucket (%s) or id (%s) empty", m.bucket, m.id))
    		return
    	}
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		internalLogIf(ctx, errors.New("metacache.delete: no object layer"))
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/main/resources/fess_label_ru.properties

    labels.search_list_configuration=Search
    labels.search_list_button_delete=Удалить
    labels.search_list_delete_confirmation=Do you really want to delete?
    labels.search_list_button_delete_all=Delete all with this query
    labels.search_list_delete_all_confirmation=Do you really want to delete all with this query?
    labels.search_list_button_cancel=Cancel
    labels.failure_url_configuration=Failure URL
    labels.failure_url_search_url=URL
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Mar 22 11:58:34 UTC 2024
    - 45.6K bytes
    - Viewed (0)
Back to top