Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 213 for get_id (0.04 sec)

  1. tests/main.py

        return {"message": "Hello World"}
    
    
    app.add_api_route("/non_decorated_route", non_decorated_route)
    
    
    @app.get("/text")
    def get_text():
        return "Hello World"
    
    
    @app.get("/path/{item_id}")
    def get_id(item_id):
        return item_id
    
    
    @app.get("/path/str/{item_id}")
    def get_str_id(item_id: str):
        return item_id
    
    
    @app.get("/path/int/{item_id}")
    def get_int_id(item_id: int):
        return item_id
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

                            problems.add(new DefaultSettingsProblem(
                                    "Legacy/insecurely encrypted password detected for server " + server.getId(),
                                    Severity.WARNING,
                                    "server: " + server.getId(),
                                    -1,
                                    -1,
                                    null));
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

                        logger.warn(
                                "Duplicated lifecycle phase {}. Defined in {} but also in {}",
                                phase,
                                original.getId(),
                                lifecycle.getId());
                    }
                }
                if (lifecycle.getDelegate() != null) {
                    for (org.apache.maven.api.Lifecycle.Alias alias :
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/BlockDetailRenderer.java

            Document document = parent.getOwnerDocument();
    
            Element section = document.createElement("section");
            parent.appendChild(section);
            section.setAttribute("id", blockDoc.getId());
            section.setAttribute("role", "detail");
    
            Element title = document.createElement("title");
            section.appendChild(title);
            Element literal = document.createElement("literal");
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 3.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/JobHelper.java

                final Map<String, Object> params = new HashMap<>();
                ComponentUtil.getComponent(ScheduledJobBhv.class).selectByPK(scheduledJob.getId())
                        .ifPresent(e -> params.put(Constants.SCHEDULED_JOB, e)).orElse(() -> {
                            logger.warn("Job {} is not found.", scheduledJob.getId());
                        });
                return params;
            };
            findJobByUniqueOf(LaJobUnique.of(id)).ifPresent(job -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. tests/test_response_model_data_filter_no_inheritance.py

    class PetOut(BaseModel):
        name: str
        owner: User
    
    
    @app.post("/users/", response_model=User)
    async def create_user(user: UserCreate):
        return user
    
    
    @app.get("/pets/{pet_id}", response_model=PetOut)
    async def read_pet(pet_id: int):
        user = UserDB(
            email="******@****.***",
            hashed_password="secrethashed",
        )
        pet = PetDB(name="Nibbler", owner=user)
        return pet
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/es/config/exentity/ScheduledJob.java

        public void stop() {
            ComponentUtil.getJobManager().findJobByUniqueOf(LaJobUnique.of(getId())).ifPresent(job -> {
                job.stopNow();
            }).orElse(() -> {
                throw new JobNotFoundException(this);
            });
        }
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

            boolean activatedPomProfileNotByDefault = false;
    
            for (Profile profile : profiles) {
                if (!deactivatedIds.contains(profile.getId())) {
                    if (activatedIds.contains(profile.getId()) || isActive(profile, context, problems)) {
                        activeProfiles.add(profile);
    
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/UserLocalArtifactRepository.java

            // with multiple local repository implementations yet.
            artifact.setFile(artifactFile);
    
            return artifact;
        }
    
        @Override
        public String getId() {
            return localRepository.getId();
        }
    
        @Override
        public String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

                return null;
            });
            protwordsService.store(body.dictId, entity);
            return asJson(
                    new ApiResult.ApiUpdateResponse().id(String.valueOf(entity.getId())).created(true).status(ApiResult.Status.OK).result());
        }
    
        // POST /api/admin/dict/protwords/setting/{dictId}
        @Execute
        public JsonResponse<ApiResult> post$setting(final String dictId, final EditBody body) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top