Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,332 for delegate (0.06 sec)

  1. tests/test_operations_signatures.py

    import inspect
    
    from fastapi import APIRouter, FastAPI
    
    method_names = ["get", "put", "post", "delete", "options", "head", "patch", "trace"]
    
    
    def test_signatures_consistency():
        base_sig = inspect.signature(APIRouter.get)
        for method_name in method_names:
            router_method = getattr(APIRouter, method_name)
            app_method = getattr(FastAPI, method_name)
            router_sig = inspect.signature(router_method)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 27 12:08:13 UTC 2019
    - 934 bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/first-steps.md

    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...흔히 사용되지 않는 것들도 있습니다:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    HTTP 프로토콜에서는 이러한 "메소드"를 하나(또는 이상) 사용하여 각 경로와 통신할 수 있습니다.
    
    ---
    
    API를 설계할 때 일반적으로 특정 행동을 수행하기 위해 특정 HTTP 메소드를 사용합니다.
    
    일반적으로 다음과 같습니다:
    
    * `POST`: 데이터를 생성하기 위해.
    * `GET`: 데이터를 읽기 위해.
    * `PUT`: 데이터를 수정하기 위해.
    * `DELETE`: 데이터를 삭제하기 위해.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/service/LabelTypeService.java

                op.rangeSize(fessConfig.getPagingPageRangeSizeAsInteger());
            }).createPageNumberList());
    
            return labelTypeList;
        }
    
        public void delete(final LabelType labelType) {
    
            labelTypeBhv.delete(labelType, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            final LabelTypeHelper labelTypeHelper = ComponentUtil.getLabelTypeHelper();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java

            }
            installArtifact(artifact);
            return asJson(new ApiResult.ApiResponse().status(ApiResult.Status.OK).result());
        }
    
        // DELETE /api/admin/plugin
        @Execute
        public JsonResponse<ApiResult> delete$index(final DeleteBody body) {
            validateApi(body, messages -> {});
            deleteArtifact(new Artifact(body.name, body.version));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            try {
                urlFilterService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete url filters: {}", sessionId, e);
            }
            try {
                urlQueueService.delete(sessionId);
            } catch (final Exception e) {
                logger.warn("Failed to delete url queues: {}", sessionId, e);
            }
            try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/service/JobLogService.java

        public void store(final JobLog jobLog) {
    
            jobLogBhv.insertOrUpdate(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        public void delete(final JobLog jobLog) {
    
            jobLogBhv.delete(jobLog, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
        }
    
        protected void setupListCondition(final JobLogCB cb, final JobLogPager jobLogPager) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/service/ScheduledJobService.java

            });
        }
    
        public OptionalEntity<ScheduledJob> getScheduledJob(final String id) {
            return scheduledJobBhv.selectByPK(id);
        }
    
        public void delete(final ScheduledJob scheduledJob) {
            scheduledJobBhv.delete(scheduledJob, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
            ComponentUtil.getJobHelper().remove(scheduledJob);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

        @Secured({ ROLE })
        public HtmlResponse delete(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            roleService.getRole(id).ifPresent(entity -> {
                try {
                    roleService.delete(entity);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/PurgeDocJob.java

            try {
                searchEngineClient.deleteByQuery(fessConfig.getIndexDocumentUpdateIndex(), queryBuilder);
    
            } catch (final Exception e) {
                logger.error("Could not delete expired documents: {}", queryBuilder, e);
                resultBuf.append(e.getMessage()).append("\n");
            }
    
            return resultBuf.toString();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/user/bsbhv/BsUserBhv.java

            entity.asDocMeta().indexOption(opLambda);
            doInsertOrUpdate(entity, null, null);
        }
    
        public void delete(User entity) {
            doDelete(entity, null);
        }
    
        public void delete(User 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
    - 12K bytes
    - Viewed (0)
Back to top