Search Options

Results per page
Sort
Preferred Languages
Advance

Results 881 - 890 of 7,602 for Class (0.07 sec)

  1. docs_src/query_param_models/tutorial002_pv1_an_py310.py

    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        class Config:
            extra = "forbid"
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 487 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

    import com.google.common.testing.EqualsTester;
    import java.util.Set;
    import org.junit.After;
    import org.junit.Test;
    
    /**
     * Abstract base class for testing undirected {@link Network} implementations defined in this
     * package.
     */
    public abstract class AbstractStandardUndirectedNetworkTest extends AbstractNetworkTest {
      private static final EndpointPair<Integer> ENDPOINTS_N1N2 = EndpointPair.ordered(N1, N2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          return arbitrary;
        }
        if (type.getRawType() == Class.class) {
          // If parameter is Class<? extends Foo>, we return Foo.class
          @SuppressWarnings("unchecked")
          T defaultClass = (T) getFirstTypeParameter(type.getType()).getRawType();
          return defaultClass;
        }
        if (type.getRawType() == TypeToken.class) {
          // If parameter is TypeToken<? extends Foo>, we return TypeToken<Foo>.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ResourcesTest.java

          assertThrows(IllegalArgumentException.class, () -> Resources.getResource("no such resource"));
        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
      @AndroidIncompatible // .class files aren't available
      public void testNulls() {
        new NullPointerTester()
            .setDefault(URL.class, classfile(ResourcesTest.class))
            .testAllPublicStaticMethods(Resources.class);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. docs/ru/docs/deployment/manually.md

    Существует три наиболее распространённые альтернативы:
    
    * <a href="https://www.uvicorn.org/" class="external-link" target="_blank">Uvicorn</a>: высокопроизводительный ASGI сервер.
    * <a href="https://hypercorn.readthedocs.io/" class="external-link" target="_blank">Hypercorn</a>: ASGI сервер, помимо прочего поддерживающий HTTP/2 и Trio.
    * <a href="https://github.com/django/daphne" class="external-link" target="_blank">Daphne</a>: ASGI сервер, созданный для Django Channels.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
            ClassTraversalUtil.forEach(con.getJarFile(), (ClassHandler) (packageName, shortClassName) -> {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryTest.java

                    .singleton("fsClient", FileSystemClient.class)//
                    .singleton("smbClient", SmbClient.class)//
                    .singleton("smb1Client", org.codelibs.fess.crawler.client.smb1.SmbClient.class)//
                    .singleton("ftpClient", FtpClient.class)//
                    .singleton("storageClient", StorageClient.class)//
                    .singleton("clientFactory", CrawlerClientFactory.class);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/Invokable.java

     * which may be a subtype of the declaring class. For example:
     *
     * <pre>{@code
     * Method getMethod = List.class.getMethod("get", int.class);
     * Invokable<List<String>, ?> invokable = new TypeToken<List<String>>() {}.method(getMethod);
     * assertEquals(TypeToken.of(String.class), invokable.getReturnType()); // Not Object.class!
     * assertEquals(new TypeToken<List<String>>() {}, invokable.getOwnerType());
     * }</pre>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet));
        assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet));
        assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet));
        assertThrows(IllegalStateException.class, () -> wrappedSet.equals(setToTest));
        assertThrows(IllegalStateException.class, () -> copyOfWrappedSet.equals(setToTest));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

         */
        ClassRealm getCoreRealm();
    
        /**
         * Gets the class realm exposing the Maven API. This is basically a restricted view on the Maven core realm.
         *
         * @return The class realm exposing the Maven API, never {@code null}.
         */
        ClassRealm getMavenApiRealm();
    
        /**
         * Gets the class realm exposing the Maven 4 API. This is basically a restricted view on the Maven core realm.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top