Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2111 - 2120 of 6,873 for _return (0.07 sec)

  1. fastapi/exception_handlers.py

        if not is_body_allowed_for_status_code(exc.status_code):
            return Response(status_code=exc.status_code, headers=headers)
        return JSONResponse(
            {"detail": exc.detail}, status_code=exc.status_code, headers=headers
        )
    
    
    async def request_validation_exception_handler(
        request: Request, exc: RequestValidationError
    ) -> JSONResponse:
        return JSONResponse(
            status_code=HTTP_422_UNPROCESSABLE_ENTITY,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Jun 11 19:08:14 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/SynchronizedQueueTest.java

          assertTrue(Thread.holdsLock(mutex));
          return delegate.poll();
        }
    
        @Override
        public E remove() {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove();
        }
    
        @Override
        public boolean remove(Object object) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.remove(object);
        }
    
        @Override
        public @Nullable E peek() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 20:50:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForSingletonSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForHashSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForLinkedHashSet() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForEnumSet() {
        return emptySet();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionAggregation.java

        public boolean hasAggregations() {
            return aggregationAggregationBuilderList != null && !aggregationAggregationBuilderList.isEmpty();
        }
    
        public List<AbstractAggregationBuilder<?>> getAggregationBuilderList() {
            return aggregationAggregationBuilderList != null ? aggregationAggregationBuilderList : Collections.emptyList();
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractConditionBean.java

        public int getFetchSize() {
            return getSqlClause().getFetchSize();
        }
    
        @Override
        public int getFetchPageNumber() {
            return getSqlClause().getFetchPageNumber();
        }
    
        @Override
        public int getPageStartIndex() {
            return getSqlClause().getPageStartIndex();
        }
    
        @Override
        public int getPageEndIndex() {
            return getSqlClause().getPageEndIndex();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  6. fastapi/openapi/utils.py

            stacklevel=2,
        )
        if route.operation_id:
            return route.operation_id
        path: str = route.path_format
        return generate_operation_id_for_path(name=route.name, path=path, method=method)
    
    
    def generate_operation_summary(*, route: routing.APIRoute, method: str) -> str:
        if route.summary:
            return route.summary
        return route.name.replace("_", " ").title()
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. fastapi/security/http.py

                    )
                else:
                    return None
            if scheme.lower() != "bearer":
                if self.auto_error:
                    raise HTTPException(
                        status_code=HTTP_403_FORBIDDEN,
                        detail="Invalid authentication credentials",
                    )
                else:
                    return None
            return HTTPAuthorizationCredentials(scheme=scheme, credentials=credentials)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

            if (report.isPresent()) {
                return report.get().toConfiguration();
            }
            return null;
        }
    
        private static File maybeFile(RegularFileProperty property) {
            if (property.isPresent()) {
                return property.getAsFile().get();
            }
            return null;
        }
    
        private Configuration resolveJaxb() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                                    .setException(e));
                        }
                        cache.put(value, c);
                    }
                    return c;
                }
                return value;
            };
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/es/config/exentity/RequestHeader.java

        private WebConfig webConfig;
    
        public String getId() {
            return asDocMeta().id();
        }
    
        public void setId(final String id) {
            asDocMeta().id(id);
        }
    
        public Long getVersionNo() {
            return asDocMeta().version();
        }
    
        public void setVersionNo(final Long version) {
            asDocMeta().version(version);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top