Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 7,721 for class2 (0.14 sec)

  1. docs_src/additional_responses/tutorial001.py

    from fastapi import FastAPI
    from fastapi.responses import JSONResponse
    from pydantic import BaseModel
    
    
    class Item(BaseModel):
        id: str
        value: str
    
    
    class Message(BaseModel):
        message: str
    
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}", response_model=Item, responses={404: {"model": Message}})
    async def read_item(item_id: str):
        if item_id == "foo":
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:32:30 UTC 2022
    - 506 bytes
    - Viewed (0)
  2. fess-crawler-lasta/src/main/resources/crawler/client.xml

    		class="org.codelibs.fess.crawler.client.storage.StorageClient" instance="prototype">
    		<property name="charset">"UTF-8"</property>
    	</component>
    
    	<component name="crawlerClientCreator"
    		class="org.codelibs.fess.crawler.client.CrawlerClientCreator">
    	</component>
    
    	<component name="clientFactory"
    		class="org.codelibs.fess.crawler.client.CrawlerClientFactory" instance="prototype">
    		<postConstruct name="addClient">
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Tue Aug 08 12:54:47 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/TestExceptions.java

    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
      static class YetAnotherCheckedException extends Exception {}
    
      static class SomeUncheckedException extends RuntimeException {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/TestExceptions.java

    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
      static class YetAnotherCheckedException extends Exception {}
    
      static class SomeUncheckedException extends RuntimeException {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

        assertThrows(IllegalArgumentException.class, () -> builder.maximumWeight(-1));
      }
    
      @GwtIncompatible // maximumWeight
      public void testMaximumWeight_setTwice() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().maximumWeight(16);
        assertThrows(IllegalStateException.class, () -> builder.maximumWeight(16));
        assertThrows(IllegalStateException.class, () -> builder.maximumSize(16));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

        private
        val existingSource = """
    
            class ExistingClass {
    
                class ExistingNestedClass(foo: String)
    
            }
    
            val valTurnedIntoVar: String
                get() = ""
    
            typealias ExistingTypeAlias = String
        """
    
        private
        val internalSource = """
    
            $internalMembers
    
            class ExistingClass() {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jun 27 13:51:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

      @Target(ElementType.METHOD)
      @Retention(RetentionPolicy.RUNTIME)
      private @interface Empty {}
    
      @Generates
      Class<?> generateClass() {
        return pickInstance(
            ImmutableList.of(
                int.class, long.class, void.class, Object.class, Object[].class, Iterable.class),
            Object.class);
      }
    
      @Generates
      Object generateObject() {
        return generateString();
      }
    
      @Generates
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            mSession.setSession(iSession);
    
            SessionScope sessionScope = getContainer().lookup(SessionScope.class);
            sessionScope.enter();
            sessionScope.seed(MavenSession.class, mSession);
            sessionScope.seed(Session.class, iSession);
            sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(iSession));
        }
    
        protected MavenProject createStubMavenProject() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGenerator.java

    import org.codelibs.fess.thumbnail.ThumbnailGenerator;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.DocumentUtil;
    
    public abstract class BaseThumbnailGenerator implements ThumbnailGenerator {
        private static final Logger logger = LogManager.getLogger(BaseThumbnailGenerator.class);
    
        protected final Map<String, String> conditionMap = new HashMap<>();
    
        protected int directoryNameLength = 5;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/StopwordsService.java

    import org.codelibs.fess.dict.stopwords.StopwordsItem;
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    public class StopwordsService {
        @Resource
        protected DictionaryManager dictionaryManager;
    
        @Resource
        protected FessConfig fessConfig;
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top