Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1101 - 1110 of 1,275 for noneOf (0.06 sec)

  1. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

    /**
     * @author higa
     *
     */
    public class ArrayMapTest {
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
        public ExpectedException exception = ExpectedException.none();
    
        ArrayMap<String, String> map;
    
        /**
         * @throws Exception
         */
        @Before
        public void setUp() throws Exception {
            map = new ArrayMap<String, String>();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/path-params-numeric-validations.md

    ```Python hl_lines="10"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001.py!}
    ```
    
    ////
    
    /// note
    
    路径参数总是必需的,因为它必须是路径的一部分。
    
    所以,你应该在声明时使用 `...` 将其标记为必需参数。
    
    然而,即使你使用 `None` 声明路径参数或设置一个其他默认值也不会有任何影响,它依然会是必需参数。
    
    ///
    
    ## 按需对参数排序
    
    假设你想要声明一个必需的 `str` 类型查询参数 `q`。
    
    而且你不需要为该参数声明任何其他内容,所以实际上你并不需要使用 `Query`。
    
    但是你仍然需要使用 `Path` 来声明路径参数 `item_id`。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. docs/features/events.md

        @Override public EventListener create(Call call) {
          if (Math.random() < 0.10) {
            return new MetricsEventListener(call);
          } else {
            return EventListener.NONE;
          }
        }
      };
    
      ...
    }
    ```
    
    ### Events with Failures
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/additional-responses.md

    Wenn Sie jedoch eine benutzerdefinierte Response-Klasse mit `None` als Medientyp angegeben haben, verwendet FastAPI `application/json` für jede zusätzliche Response, die über ein zugehöriges Modell verfügt.
    
    ///
    
    ## Informationen kombinieren
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/additional-responses.md

    But if you have specified a custom response class with `None` as its media type, FastAPI will use `application/json` for any additional response that has an associated model.
    
    ///
    
    ## Combining information
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:07:07 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. apache-maven/src/assembly/maven/bin/mvn.cmd

    set FILE_ARG=
    :arg_loop
    if "%~1" == "-f" (
      set "FILE_ARG=%~2"
      shift
      goto process_file_arg
    )
    if "%~1" == "--file" (
      set "FILE_ARG=%~2"
      shift
      goto process_file_arg
    )
    @REM If none of the above, skip the argument
    shift
    if not "%~1" == "" (
      goto arg_loop
    ) else (
      goto findBaseDir
    )
    
    :process_file_arg
    if "%FILE_ARG%" == "" (
      goto findBaseDir
    )
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 12:01:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. docs/fr/docs/advanced/additional-responses.md

    Mais si vous avez spécifié une classe de réponse personnalisée avec `None` comme type de média, FastAPI utilisera `application/json` pour toute réponse supplémentaire associée à un modèle.
    
    ///
    
    ## Combinaison d'informations
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    Now in the same project directory create a file `Dockerfile` with:
    
    ```{ .dockerfile .annotate }
    # (1)!
    FROM python:3.9
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. docs/em/docs/deployment/docker.md

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### 📁
    
    🔜 🎏 🏗 📁 ✍ 📁 `Dockerfile` ⏮️:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9
    
    # (2)
    WORKDIR /code
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Cookie.kt

       *
       *  - "Lax": the cookie is omitted when the subject URL is an embedded resource. It is sent for
       *    potentially-destructive navigation. This is the default value.
       *
       *  - "None": the cookie is always sent. The "Secure" attribute must also be set when setting this
       *    value.
       */
      @get:JvmName("sameSite")
      val sameSite: String?,
    ) {
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:12:05 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top