Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2951 - 2960 of 7,590 for CLASS (0.02 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. android/guava/src/com/google/common/util/concurrent/Futures.java

     * @author Nishant Thakkar
     * @author Sven Mawson
     * @since 1.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Futures extends GwtFuturesCatchingSpecialization {
    
      // A note on memory visibility.
      // Many of the utilities in this class (transform, withFallback, withTimeout, asList, combine)
      // have two requirements that significantly complicate their design.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  4. docs/fa/docs/advanced/sub-applications.md

    برنامه را با استفاده از ‘uvicorn‘ اجرا کنید، اگر فایل شما ‘main.py‘ نام دارد، دستور زیر را وارد کنید:
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    </div>
    
    صفحه مستندات را در آدرس <a href="http://127.0.0.1:8000/docs" class="external-link" target="_blank">http://127.0.0.1:8000/docs</a> باز کنید.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

    import org.codelibs.fess.es.config.exentity.RelatedContent;
    import org.codelibs.fess.util.ComponentUtil;
    
    import jakarta.annotation.PostConstruct;
    
    public class RelatedContentHelper extends AbstractConfigHelper {
    
        private static final Logger logger = LogManager.getLogger(RelatedContentHelper.class);
    
        protected Map<String, Pair<Map<String, String>, List<Pair<Pattern, String>>>> relatedContentMap = Collections.emptyMap();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/AbstractNonStreamingHashFunctionTest.java

    import java.nio.ByteBuffer;
    import java.util.Arrays;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    
    /** Tests for AbstractNonStreamingHashFunction. */
    public class AbstractNonStreamingHashFunctionTest extends TestCase {
      /**
       * Constructs two trivial HashFunctions (output := input), one streaming and one non-streaming,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

    import org.mortbay.jetty.Server;
    import org.mortbay.jetty.handler.AbstractHandler;
    import org.mortbay.jetty.handler.DefaultHandler;
    import org.mortbay.jetty.handler.HandlerList;
    
    /**
     * @author shinsuke
     *
     */
    public class ApiExtractorTest extends PlainTestCase {
        final int port = 9876;
    
        final String ATTR_NAME = "filedata";
    
        private TestApiExtractorServer server;
    
        private ApiExtractor extractor;
    
        @Override
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

    import jcifs.internal.smb2.tree.Smb2TreeConnectRequest;
    import jcifs.internal.smb2.tree.Smb2TreeDisconnectRequest;
    
    
    class SmbTreeImpl implements SmbTreeInternal {
    
        private static final Logger log = LoggerFactory.getLogger(SmbTreeImpl.class);
    
        private static AtomicLong TREE_CONN_COUNTER = new AtomicLong();
    
        /*
         * 0 - not connected
         * 1 - connecting
         * 2 - connected
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/dependencies/dependencies-with-yield.md

    ///
    
    /// note | "技术细节"
    
    任何一个可以与以下内容一起使用的函数:
    
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager" class="external-link" target="_blank">`@contextlib.contextmanager`</a> 或者
    * <a href="https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager" class="external-link" target="_blank">`@contextlib.asynccontextmanager`</a>
    
    都可以作为 **FastAPI** 的依赖项。
    
    实际上,FastAPI内部就使用了这两个装饰器。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/schema-extra-example.md

    You can set `"json_schema_extra"` with a `dict` containing any additional data you would like to show up in the generated JSON Schema, including `examples`.
    
    ////
    
    //// tab | Pydantic v1
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top