Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 562 for toOptional (0.3 sec)

  1. docs/de/docs/tutorial/body-updates.md

    {* ../../docs_src/body_updates/tutorial002_py310.py hl[33] *}
    
    ### Rekapitulation zum teilweisen Ersetzen
    
    Zusammengefasst, um Teil-Ersetzungen vorzunehmen:
    
    * (Optional) verwenden Sie `PATCH` statt `PUT`.
    * Lesen Sie die bereits gespeicherten Daten aus.
    * Fügen Sie diese in ein Pydantic-Modell ein.
    * Erzeugen Sie aus dem empfangenen Modell ein `dict` ohne Defaultwerte (mittels `exclude_unset`).
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/body-multiple-params.md

    And you can also declare body parameters as optional, by setting the default to `None`:
    
    {* ../../docs_src/body_multiple_params/tutorial001_an_py310.py hl[18:20] *}
    
    /// note
    
    Notice that, in this case, the `item` that would be taken from the body is optional. As it has a `None` default value.
    
    ///
    
    ## Multiple body parameters { #multiple-body-parameters }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-params-str-validations.md

    Having `str | None` will allow your editor to give you better support and detect errors.
    
    ///
    
    ## Additional validation { #additional-validation }
    
    We are going to enforce that even though `q` is optional, whenever it is provided, **its length doesn't exceed 50 characters**.
    
    ### Import `Query` and `Annotated` { #import-query-and-annotated }
    
    To achieve that, first import:
    
    * `Query` from `fastapi`
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/Network.java

       *     network
       * @since 23.0
       */
      Optional<E> edgeConnecting(N nodeU, N nodeV);
    
      /**
       * Returns the single edge that directly connects {@code endpoints} (in the order, if any,
       * specified by {@code endpoints}), if one is present, or {@code Optional.empty()} if no such edge
       * exists.
       *
       * <p>If this network is directed, the endpoints must be ordered.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:03:02 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

    import org.codelibs.fess.opensearch.config.exentity.FileConfig;
    import org.codelibs.fess.util.ComponentUtil;
    import org.codelibs.fess.util.RenderDataUtil;
    import org.dbflute.optional.OptionalEntity;
    import org.dbflute.optional.OptionalThing;
    import org.lastaflute.web.Execute;
    import org.lastaflute.web.response.HtmlResponse;
    import org.lastaflute.web.response.render.RenderData;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  6. docs/fr/docs/python-types.md

        * Les valeurs de ce dictionnaire sont de type `float`.
    
    #### `Optional`
    
    Vous pouvez aussi utiliser `Optional` pour déclarer qu'une variable a un type, comme `str` mais qu'il est "optionnel" signifiant qu'il pourrait aussi être `None`.
    
    {*../../docs_src/python_types/tutorial009.py hl[1,4] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

        if (allowsNullKeys) {
          boolean unused = map.containsKey(null);
        } else {
          try {
            boolean unused2 = map.containsKey(null);
          } catch (NullPointerException optional) {
          }
        }
        assertInvariants(map);
      }
    
      public void testContainsValue() {
        Map<K, V> map;
        V unmappedValue;
        try {
          map = makePopulatedMap();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 43.9K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/body.md

    * パラメータが **Pydantic モデル**型で宣言された場合、リクエスト**ボディ**として解釈されます。
    
    /// note | 備考
    
    FastAPIは、`= None`があるおかげで、`q`がオプショナルだとわかります。
    
    `Optional[str]` の`Optional` はFastAPIでは使用されていません(FastAPIは`str`の部分のみ使用します)。しかし、`Optional[str]` はエディタがコードのエラーを見つけるのを助けてくれます。
    
    ///
    
    ## Pydanticを使わない方法
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Jul 26 10:48:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/CredentialsInternalTest.java

        }
    
        @Test
        @DisplayName("createContext accepts null/empty optional parameters")
        void createContext_edge_parameters_ok() throws Exception {
            TestCredentials creds = new TestCredentials("D", false, false, new Subject(), false);
            // Intentionally pass null/empty values for optional parameters; expect no exception
            SSPContext ctx1 = creds.createContext(mockContext, null, "", null, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/JobLogService.java

    import org.codelibs.fess.opensearch.config.exbhv.JobLogBhv;
    import org.codelibs.fess.opensearch.config.exentity.JobLog;
    import org.codelibs.fess.util.ComponentUtil;
    import org.dbflute.cbean.result.PagingResultBean;
    import org.dbflute.optional.OptionalEntity;
    
    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing job logs in the Fess application.
     * Provides functionality to create, read, update, and delete job log entries,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top