Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 7,612 for class (0.05 sec)

  1. tests/test_invalid_path_param.py

        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/{id}")
            def read_items(id: List[Item]):
                pass  # pragma: no cover
    
    
    def test_invalid_tuple():
        with pytest.raises(AssertionError):
            app = FastAPI()
    
            class Item(BaseModel):
                title: str
    
            @app.get("/items/{id}")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jun 03 17:59:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

      private static final class OneSizeTestSuiteBuilder<T, E>
          extends FeatureSpecificTestSuiteBuilder<
              OneSizeTestSuiteBuilder<T, E>, OneSizeGenerator<T, E>> {
        @SuppressWarnings("rawtypes") // class literals
        private final List<Class<? extends AbstractTester>> testers;
    
        @SuppressWarnings("rawtypes") // class literals
        public OneSizeTestSuiteBuilder(List<Class<? extends AbstractTester>> testers) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

        }
      }
    
      @Test
      @Throws(Exception::class)
      fun compressedMessages() {
        successfulExtensions("permessage-deflate")
      }
    
      @Test
      @Throws(Exception::class)
      fun compressedMessagesNoClientContextTakeover() {
        successfulExtensions("permessage-deflate; client_no_context_takeover")
      }
    
      @Test
      @Throws(Exception::class)
      fun compressedMessagesNoServerContextTakeover() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                        .session((Session) java.lang.reflect.Proxy.newProxyInstance(
                                Session.class.getClassLoader(),
                                new Class[] {Session.class},
                                (Object proxy, Method method, Object[] args) -> {
                                    if ("getSystemProperties".equals(method.getName())) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/ResourceUtilTest.java

         */
        public void testGetResourceAsStreamNoException() throws Exception {
            assertNotNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String.class", "class"));
            assertNull(ResourceUtil.getResourceAsStreamNoException("java/lang/String2.class", "class"));
        }
    
        /**
         * @throws Exception
         */
        public void testGetBuildDir() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. docs/zh/docs/deployment/manually.md

    **FastAPI** 基于 <a href="https://anyio.readthedocs.io/en/stable/" class="external-link" target="_blank">AnyIO</a>, 所以它们才能同时与 Python 的标准库 <a href="https://docs.python.org/3/library/asyncio-task.html" class="external-link" target="_blank">asyncio</a> 和<a href="https://trio.readthedocs.io/en/stable/" class="external-link" target="_blank">Trio</a> 兼容。
    
    尽管如此,Uvicorn 目前仅与 asyncio 兼容,并且通常使用 <a href="https://github.com/MagicStack/uvloop" class="external-link" target="_blank">`uvloop`</a >, 它是`asyncio`的高性能替代品。...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. docs/es/docs/how-to/graphql.md

    * <a href="https://strawberry.rocks/" class="external-link" target="_blank">Strawberry</a> 🍓
        * Con <a href="https://strawberry.rocks/docs/integrations/fastapi" class="external-link" target="_blank">documentación para FastAPI</a>
    * <a href="https://ariadnegraphql.org/" class="external-link" target="_blank">Ariadne</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

            Injector injector = Injector.create();
            injector.bindInstance(Injector.class, injector);
            injector.bindInstance(Context.class, new Context(userProperties, systemProperties));
            injector.bindImplicit(Providers.class);
            injector.discover(ProtoSession.class.getClassLoader());
            Session session = injector.getInstance(Session.class);
            SessionScope scope = new SessionScope();
            scope.enter();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

        assertThrows(IllegalStateException.class, () -> emptyAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
            () -> emptyAccumulatorByAddAllEmptyPairedStats.sampleCovariance());
        assertThrows(IllegalStateException.class, () -> oneValueAccumulator.sampleCovariance());
        assertThrows(
            IllegalStateException.class,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

    import jakarta.annotation.Resource;
    
    /**
     * @author shinsuke
     * @author Keiichi Watanabe
     */
    public class AdminRoleAction extends FessAdminAction {
    
        public static final String ROLE = "admin-role";
    
        private static final Logger logger = LogManager.getLogger(AdminRoleAction.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top