Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3071 - 3080 of 7,014 for _return (0.07 sec)

  1. tests/test_serialize_response_dataclass.py

    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "date": datetime(2021, 7, 26), "price": 1.0}
    
    
    @app.get("/items/object", response_model=Item)
    def get_object():
        return Item(
            name="object", date=datetime(2021, 7, 26), price=1.0, owner_ids=[1, 2, 3]
        )
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:56:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenSnapshotMetadata.java

            return classifier + ':' + extension;
        }
    
        @Override
        public String getGroupId() {
            return metadata.getGroupId();
        }
    
        @Override
        public String getArtifactId() {
            return metadata.getArtifactId();
        }
    
        @Override
        public String getVersion() {
            return metadata.getVersion();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/UndirectedGraphConnections.java

        return new UndirectedGraphConnections<>(ImmutableMap.copyOf(adjacentNodeValues));
      }
    
      @Override
      public Set<N> adjacentNodes() {
        return Collections.unmodifiableSet(adjacentNodeValues.keySet());
      }
    
      @Override
      public Set<N> predecessors() {
        return adjacentNodes();
      }
    
      @Override
      public Set<N> successors() {
        return adjacentNodes();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 3.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

                }
                return entity;
            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateInstance(GLOBAL));
                return null;
            });
    
            return asJson(new ApiUpdateResponse().id(relatedQuery.getId()).created(true).status(Status.OK).result());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

        }
    
        /**
         * @return Optional active profile identifiers, never {@code null}.
         */
        public Set<String> getOptionalActiveProfileIds() {
            return getProfileIds(pa -> pa.optional && pa.active);
        }
    
        /**
         * @return Required inactive profile identifiers, never {@code null}.
         */
        public Set<String> getRequiredInactiveProfileIds() {
            return getProfileIds(pa -> !pa.optional && !pa.active);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/exentity/ScheduledJob.java

            if (StringUtil.isBlank(st)) {
                return "groovy";
            }
            return st;
        }
    
        public boolean isLoggingEnabled() {
            return Constants.T.equals(getJobLogging());
        }
    
        public boolean isCrawlerJob() {
            return Constants.T.equals(getCrawler());
        }
    
        public boolean isEnabled() {
            return Constants.T.equals(getAvailable());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/pager/ProtwordsPager.java

            id = null;
        }
    
        protected int getDefaultPageSize() {
            return ComponentUtil.getFessConfig().getPagingPageSizeAsInteger();
        }
    
        protected int getDefaultCurrentPageNumber() {
            return 1;
        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/StemmerOverridePager.java

            id = null;
        }
    
        protected int getDefaultPageSize() {
            return ComponentUtil.getFessConfig().getPagingPageSizeAsInteger();
        }
    
        protected int getDefaultCurrentPageNumber() {
            return 1;
        }
    
        public int getAllRecordCount() {
            return allRecordCount;
        }
    
        public void setAllRecordCount(final int allRecordCount) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/SingletonImmutableSet.java

      }
    
      @Override
      public int size() {
        return 1;
      }
    
      @Override
      public boolean contains(@CheckForNull Object target) {
        return element.equals(target);
      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return singletonIterator(element);
      }
    
      @Override
      public ImmutableList<E> asList() {
        return ImmutableList.of(element);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/TermQueryCommandTest.java

                    return fessConfig.get(propertyKey);
                }
    
                @Override
                public BigDecimal getAsDecimal(String propertyKey) {
                    return DfTypeUtil.toBigDecimal(get(propertyKey));
                }
    
                @Override
                public Integer getAsInteger(String propertyKey) {
                    return DfTypeUtil.toInteger(get(propertyKey));
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 11 08:26:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top