Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,390 for delete (0.1 sec)

  1. docs_src/sql_databases/tutorial002.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)
  2. docs_src/sql_databases/tutorial002_an_py310.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.5K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RequestTest.kt

        assertThat(head.method).isEqualTo("HEAD")
        assertThat(head.body).isNull()
    
        val delete = Request.Builder().url("http://localhost/api").delete().build()
        assertThat(delete.method).isEqualTo("DELETE")
        assertThat(delete.body!!.contentLength()).isEqualTo(0L)
    
        val post = Request.Builder().url("http://localhost/api").post(body).build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  4. tensorflow/c/checkpoint_reader.h

      std::unique_ptr<TensorSliceReader::VarToShapeMap> var_to_shape_map_;
      std::unique_ptr<TensorSliceReader::VarToDataTypeMap> var_to_data_type_map_;
    
      CheckpointReader(const CheckpointReader&) = delete;
      void operator=(const CheckpointReader&) = delete;
    };
    
    }  // namespace checkpoint
    }  // namespace tensorflow
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImpl.java

            }
        }
    
        /*
         * (non-Javadoc)
         *
         * @see
         * org.codelibs.fess.crawler.service.impl.UrlFilterService#delete(java.lang.String)
         */
        @Override
        public void delete(final String sessionId) {
            dataHelper.clearUrlPattern(sessionId);
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. internal/event/target/postgresql.go

    	psqlUpdateRow = `INSERT INTO %s (key, value) VALUES ($1, $2) ON CONFLICT (key) DO UPDATE SET value = EXCLUDED.value;`
    	psqlDeleteRow = `DELETE FROM %s WHERE key = $1;`
    	psqlInsertRow = `INSERT INTO %s (event_time, event_data) VALUES ($1, $2);`
    )
    
    // Postgres constants
    const (
    	PostgresFormat             = "format"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

        }
    
        // DELETE /api/admin/dict/stopwords/setting/{dictId}/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String dictId, final long id) {
            stopwordsService.getStopwordsItem(dictId, id).ifPresent(entity -> {
                stopwordsService.delete(dictId, 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
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

        }
    
        // DELETE /api/admin/fileconfig/setting/{id}
        @Execute
        public JsonResponse<ApiResult> delete$setting(final String id) {
            fileConfigService.getFileConfig(id).ifPresent(entity -> {
                try {
                    fileConfigService.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
    - 7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/DuplicateHostService.java

            duplicateHostBhv.insertOrUpdate(duplicateHost, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final DuplicateHost duplicateHost) {
    
            duplicateHostBhv.delete(duplicateHost, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public List<DuplicateHost> getDuplicateHostList() {
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/KuromojiService.java

                } else {
                    file.update(kuromojiItem);
                }
            });
        }
    
        public void delete(final String dictId, final KuromojiItem kuromojiItem) {
            getKuromojiFile(dictId).ifPresent(file -> {
                file.delete(kuromojiItem);
            });
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top