Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2591 - 2600 of 6,364 for classId (0.1 sec)

  1. tests/test_union_body.py

    from dirty_equals import IsDict
    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: Optional[str] = None
    
    
    class OtherItem(BaseModel):
        price: int
    
    
    @app.post("/items/")
    def save_union_body(item: Union[OtherItem, Item]):
        return {"item": item}
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            out.println( "</head><body>" );
    
            out.print( "<a class=\"sort\" style=\"width: " + maxLen + ";\" href=\"?fmt=detail&sort=name\">Name</a>" );
            out.println( "<a class=\"sort\" href=\"?fmt=detail&sort=size\">Size</a>" );
            out.println( "<a class=\"sort\" href=\"?fmt=detail&sort=type\">Type</a>" );
            out.println( "<a class=\"sort\" style=\"width: 180\" href=\"?fmt=detail&sort=date\">Modified</a><br clear='all'><p>" );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

    import org.lastaflute.web.util.LaRequestUtil;
    
    import jakarta.annotation.PostConstruct;
    
    public class PathMappingHelper extends AbstractConfigHelper {
    
        private static final Logger logger = LogManager.getLogger(PathMappingHelper.class);
    
        protected static final String FUNCTION_ENCODEURL_MATCHER = "function:encodeUrl";
    
        protected static final String GROOVY_MATCHER = "groovy:";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top