Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 896 for toOptional (0.08 sec)

  1. docs/ja/docs/tutorial/query-params-str-validations.md

    以下のアプリケーションを例にしてみましょう:
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params_str_validations/tutorial001.py!}
    ```
    
    クエリパラメータ `q` は `Optional[str]` 型で、`None` を許容する `str` 型を意味しており、デフォルトは `None` です。そのため、FastAPIはそれが必須ではないと理解します。
    
    /// note | "備考"
    
    FastAPIは、 `q` はデフォルト値が `=None` であるため、必須ではないと理解します。
    
    `Optional[str]` における `Optional` はFastAPIには利用されませんが、エディターによるより良いサポートとエラー検出を可能にします。
    
    ///
    
    ## バリデーションの追加
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/AbstractNetwork.java

            return incidentNodes(edge).adjacentNode(nodePresent).equals(nodeToCheck);
          }
        };
      }
    
      @Override
      public Optional<E> edgeConnecting(N nodeU, N nodeV) {
        return Optional.ofNullable(edgeConnectingOrNull(nodeU, nodeV));
      }
    
      @Override
      public Optional<E> edgeConnecting(EndpointPair<N> endpoints) {
        validateEndpoints(endpoints);
        return edgeConnecting(endpoints.nodeU(), endpoints.nodeV());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Mar 13 18:17:09 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/CharSourceTester.java

     */
    
    package com.google.common.io;
    
    import static com.google.common.collect.ImmutableList.toImmutableList;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.Optional;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.Lists;
    import com.google.common.io.SourceSinkFactory.ByteSourceFactory;
    import com.google.common.io.SourceSinkFactory.CharSourceFactory;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/index.md

    ```console
    $ pip install "fastapi[standard]"
    
    ---> 100%
    ```
    
    </div>
    
    /// note
    
    When you install with `pip install "fastapi[standard]"` it comes with some default optional standard dependencies.
    
    If you don't want to have those optional dependencies, you can instead install `pip install fastapi`.
    
    ///
    
    ## Advanced User Guide
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 24 21:52:09 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

    import static java.lang.reflect.Modifier.PRIVATE;
    import static java.lang.reflect.Modifier.PROTECTED;
    import static java.lang.reflect.Modifier.PUBLIC;
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Optional;
    import com.google.common.reflect.ClassPath;
    import com.google.common.reflect.ClassPath.ClassInfo;
    import com.google.common.reflect.TypeToken;
    import java.lang.reflect.Method;
    import junit.framework.TestCase;
    
    /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. docs/en/docs/index.md

    ### Without `standard` Dependencies
    
    If you don't want to include the `standard` optional dependencies, you can install with `pip install fastapi` instead of `pip install "fastapi[standard]"`.
    
    ### Additional Optional Dependencies
    
    There are some additional dependencies you might want to install.
    
    Additional optional Pydantic dependencies:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/site/apt/index.apt

       ** <(optional)> reports configuration: <<<ReportConfigurationExpander>>> ({{{./apidocs/org/apache/maven/model/plugin/ReportConfigurationExpander.html}javadoc}}),
       with its <<<DefaultReportConfigurationExpander>>> implementation
       ({{{./xref/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.html}source}})
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/50_maintainer_chore.yml

          description: |
            Please describe the problem as concisely as possible.
        validations:
          required: true
      - type: textarea
        id: context
        attributes:
          label: Context (optional)
          description: |
            How has this issue affected you? What are you trying to accomplish?
            Providing context helps us come up with a solution that is most useful in the real world
        validations:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 12 11:52:53 UTC 2023
    - 856 bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            // As a side effect it will log the optional projects that could not be resolved.
            projectSelector.getOptionalProjectsBySelectors(request, session.getAllProjects(), allOptionalSelectors);
        }
    
        /**
         * Check whether any of the requested optional profiles were not activated or deactivated.
         * @param session the Maven session.
         * @param profileActivation the requested optional and required profiles.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

                        break;
                    default:
                        // could not parse expression
                        return null;
                }
            }
    
            if (value instanceof Optional) {
                value = ((Optional<?>) value).orElse(null);
            }
            return value;
        }
    
        private static Object getMappedValue(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top