Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3901 - 3910 of 7,602 for _class (0.04 sec)

  1. android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java

    /**
     * This class provides a skeletal implementation of the {@link ListIterator} interface across a
     * fixed number of elements that may be retrieved by position. It does not support {@link #remove},
     * {@link #set}, or {@link #add}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class AbstractIndexedListIterator<E extends @Nullable Object>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java

    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Tests for SafeTreeMap.
     *
     * @author Louis Wasserman
     */
    public class SafeTreeMapTest extends TestCase {
      public static Test suite() {
        TestSuite suite = new TestSuite();
        suite.addTestSuite(SafeTreeMapTest.class);
        suite.addTest(
            NavigableMapTestSuiteBuilder.using(
                    new TestStringSortedMapGenerator() {
                      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Mar 18 18:06:40 UTC 2022
    - 4.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

    import org.codelibs.core.log.Logger;
    
    /**
     * {@link java.util.zip.ZipInputStream}を扱うユーティリティクラスです。
     *
     * @author koichik
     */
    public abstract class ZipInputStreamUtil {
    
        private static final Logger logger = Logger.getLogger(ZipInputStreamUtil.class);
    
        /**
         * {@link ZipInputStream#getNextEntry()}の例外処理をラップするメソッドです。
         *
         * @param zis
         *            {@link ZipInputStream}。{@literal null}であってはいけません
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/using-request-directly.md

    但有时,我们也需要直接访问 `Request` 对象。
    
    ## `Request` 对象的细节
    
    实际上,**FastAPI** 的底层是 **Starlette**,**FastAPI** 只不过是在  **Starlette** 顶层提供了一些工具,所以能直接使用 Starlette 的  <a href="https://www.starlette.io/requests/" class="external-link" target="_blank">`Request`</a> 对象。
    
    但直接从 `Request` 对象提取数据时(例如,读取请求体),**FastAPI** 不会验证、转换和存档数据(为 API 文档使用 OpenAPI)。
    
    不过,仍可以验证、转换与注释(使用 Pydantic 模型的请求体等)其它正常声明的参数。
    
    但在某些特定情况下,还是需要提取 `Request` 对象。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/extra-data-types.md

        * Pydantic также позволяет представить его как "Кодировку разницы во времени ISO 8601", <a href="https://docs.pydantic.dev/latest/concepts/serialization/#json_encoders" class="external-link" target="_blank">см. документацию для получения дополнительной информации</a>.
    * `frozenset`:
        * В запросах и ответах обрабатывается так же, как и `set`:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. docs/id/docs/tutorial/index.md

    Semua blok-blok kode dapat disalin dan digunakan langsung (Mereka semua sebenarnya adalah file python yang sudah teruji).
    
    Untuk menjalankan setiap contoh, salin kode ke file `main.py`, dan jalankan `uvicorn` dengan:
    
    <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)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/request-form-models.md

    Você pode utilizar **Modelos Pydantic** para declarar **campos de formulários** no FastAPI.
    
    /// info | "Informação"
    
    Para utilizar formulários, instale primeiramente o <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Certifique-se de criar um [ambiente virtual](../virtual-environments.md){.internal-link target=_blank}, ativá-lo, e então instalar. Por exemplo:
    
    ```console
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. docs_src/header_param_models/tutorial001_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class CommonHeaders(BaseModel):
        host: str
        save_data: bool
        if_modified_since: Union[str, None] = None
        traceparent: Union[str, None] = None
        x_tag: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(headers: CommonHeaders = Header()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 390 bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
      static class Segment<K, V> extends ReentrantLock {
    
        /*
         * TODO(fry): Consider copying variables (like evictsBySize) from outer class into this class.
         * It will require more memory but will reduce indirection.
         */
    
        /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

    import org.lastaflute.web.response.ApiResponse;
    import org.lastaflute.web.response.JsonResponse;
    
    /**
     * @author jflute
     */
    public class FessApiFailureHook implements ApiFailureHook { // #change_it for handling API failure
    
        private static final Logger logger = LogManager.getLogger(FessApiFailureHook.class);
    
        // ===================================================================================
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top