Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1261 - 1270 of 7,990 for KClass (0.51 sec)

  1. tests/test_additional_responses_custom_validationerror.py

    from fastapi.responses import JSONResponse
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class JsonApiResponse(JSONResponse):
        media_type = "application/vnd.api+json"
    
    
    class Error(BaseModel):
        status: str
        title: str
    
    
    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
        "/a/{id}",
        response_class=JsonApiResponse,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

            assertThrows(IllegalStateException.class, () -> service.awaitRunning());
        assertThat(expected).hasCauseThat().hasMessageThat().isEqualTo("kaboom!");
        executionThread.join();
    
        assertTrue(service.startUpCalled);
        assertEquals(Service.State.FAILED, service.state());
        assertThat(service.failureCause()).hasMessageThat().isEqualTo("kaboom!");
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/TypeResolver.java

          return ImmutableMap.copyOf(introspector.mappings);
        }
    
        @Override
        void visitClass(Class<?> clazz) {
          visit(clazz.getGenericSuperclass());
          visit(clazz.getGenericInterfaces());
        }
    
        @Override
        void visitParameterizedType(ParameterizedType parameterizedType) {
          Class<?> rawClass = (Class<?>) parameterizedType.getRawType();
          TypeVariable<?>[] vars = rawClass.getTypeParameters();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  4. docs/zh/docs/index.md

    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    你还会需要一个 ASGI 服务器,生产环境可以使用 <a href="https://www.uvicorn.dev" class="external-link" target="_blank">Uvicorn</a> 或者 <a href="https://github.com/pgjones/hypercorn" class="external-link" target="_blank">Hypercorn</a>。
    
    <div class="termy">
    
    ```console
    $ pip install "uvicorn[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  5. docs/pt/docs/how-to/graphql.md

    * <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a> 🍓
        * Com <a href="https://strawberry.rocks/docs/integrations/fastapi" class="external-link" target="_blank">docs para FastAPI</a>
    * <a href="https://ariadnegraphql.org/" class="external-link" target="_blank">Ariadne</a>
        * Com <a href="https://ariadnegraphql.org/docs/fastapi-integration" class="external-link" target="_blank">docs para FastAPI</a>
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        ImmutableLongArray iia = ImmutableLongArray.of(0, 1, 3);
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(-1));
        assertThrows(IndexOutOfBoundsException.class, () -> iia.get(3));
    
        ImmutableLongArray sub = iia.subArray(1, 2);
        assertThrows(IndexOutOfBoundsException.class, () -> sub.get(-1));
      }
    
      public void testIndexOf() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/api/WebApiManagerFactory.java

    import java.util.Collections;
    import java.util.List;
    
    import jakarta.servlet.http.HttpServletRequest;
    
    /**
     * Factory class for managing and retrieving web API managers.
     * This factory maintains a collection of web API managers and provides
     * functionality to find the appropriate manager for incoming requests.
     */
    public class WebApiManagerFactory {
    
        /**
         * Default constructor.
         */
        public WebApiManagerFactory() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingInfoParam.java

    import org.codelibs.fess.opensearch.config.exbhv.CrawlingInfoBhv;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalEntity;
    
    /**
     * @author ESFlute (using FreeGen)
     */
    public class CrawlingInfoParam extends BsCrawlingInfoParam {
    
        private static final long serialVersionUID = 1L;
    
        private OptionalEntity<CrawlingInfo> crawlingInfo;
    
        public String getId() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/TaskSegment.java

    /**
     * Describes the required task segment as provided on the maven command line; i.e. "clean jetty:run install"
     *
     * <strong>NOTE:</strong> This class is not part of any public api and can be changed or deleted without prior notice.
     *
     * @since 3.0
     */
    public final class TaskSegment {
    
        // Can be both "LifeCycleTask" (clean/install) and "GoalTask" (org.mortbay.jetty:maven-jetty-plugin:6.1.19:run)
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

     * @author Jens Nyman
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     */
    final class DirectedGraphConnections<N, V> implements GraphConnections<N, V> {
      /**
       * A wrapper class to indicate a node is both a predecessor and successor while still providing
       * the successor value.
       */
      private static final class PredAndSucc {
        private final Object successorValue;
    
        PredAndSucc(Object successorValue) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top