Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3081 - 3090 of 7,721 for class2 (0.06 sec)

  1. tests/test_response_by_alias.py

    from fastapi import FastAPI
    from fastapi._compat import PYDANTIC_V2
    from fastapi.testclient import TestClient
    from pydantic import BaseModel, ConfigDict, Field
    
    app = FastAPI()
    
    
    class Model(BaseModel):
        name: str = Field(alias="alias")
    
    
    class ModelNoAlias(BaseModel):
        name: str
    
        if PYDANTIC_V2:
            model_config = ConfigDict(
                json_schema_extra={
                    "description": (
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

    import org.codelibs.fess.crawler.util.CrawlerWebServer;
    import org.codelibs.opensearch.runner.OpenSearchRunner;
    import org.dbflute.utflute.lastadi.LastaDiTestCase;
    
    import jakarta.annotation.Resource;
    
    public class CrawlerTest extends LastaDiTestCase {
    
        @Resource
        private Crawler crawler;
    
        @Resource
        private DataService dataService;
    
        @Resource
        private UrlQueueService urlQueueService;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/logout/LogoutAction.java

    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    
    public class LogoutAction extends FessSearchAction {
    
        // ===================================================================================
        //                                                                            Constant
        //
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/ExperimentalOkHttpApi.kt

     *
     * Do not use these APIs if you aren't willing to track changes to them.
     */
    @MustBeDocumented
    @Retention(value = AnnotationRetention.BINARY)
    @Target(
      AnnotationTarget.CLASS,
      AnnotationTarget.ANNOTATION_CLASS,
      AnnotationTarget.PROPERTY,
      AnnotationTarget.FIELD,
      AnnotationTarget.LOCAL_VARIABLE,
      AnnotationTarget.VALUE_PARAMETER,
      AnnotationTarget.CONSTRUCTOR,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

    import okhttp3.Credentials
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    
    class Authenticate {
      private val client =
        OkHttpClient.Builder()
          .authenticator(
            object : Authenticator {
              @Throws(IOException::class)
              override fun authenticate(
                route: Route?,
                response: Response,
              ): Request? {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForwardingMultimapTest.java

    /**
     * Unit test for {@link ForwardingMultimap}.
     *
     * @author Hayward Chan
     */
    public class ForwardingMultimapTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Multimap.class,
                new Function<Multimap, Multimap<?, ?>>() {
                  @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/StandardImmutableDirectedGraphTest.java

    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for a directed {@link StandardMutableGraph}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    public final class StandardImmutableDirectedGraphTest extends AbstractStandardDirectedGraphTest {
    
      @Parameters(name = "allowsSelfLoops={0}")
      public static Collection<Object[]> parameters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

    /**
     * Abstract base class for tests that EventBus finds the correct subscribers.
     *
     * <p>The actual tests are distributed among the other classes in this package based on whether they
     * are annotated or abstract in the superclass.
     *
     * <p>This test must be outside the c.g.c.eventbus package to test correctly.
     *
     * @author Louis Wasserman
     */
    abstract class AbstractEventBusTest<H> extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/StandardImmutableUndirectedGraphTest.java

    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    /** Tests for an undirected {@link StandardMutableGraph}. */
    @AndroidIncompatible
    @RunWith(Parameterized.class)
    public final class StandardImmutableUndirectedGraphTest
        extends AbstractStandardUndirectedGraphTest {
    
      @Parameters(name = "allowsSelfLoops={0}")
      public static Collection<Object[]> parameters() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Mar 10 17:54:18 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AccessTimeoutTarget.java

    import org.codelibs.core.lang.ThreadUtil;
    import org.codelibs.core.timer.TimeoutTarget;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    public class AccessTimeoutTarget implements TimeoutTarget {
    
        private static final Logger logger = LoggerFactory.getLogger(AccessTimeoutTarget.class);
    
        private static final int MAX_LOOP_COUNT = 10;
    
        protected Thread runningThread;
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top