Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 103 for anyOf (0.02 seconds)

  1. tests/test_multi_query_errors.py

                                "loc": {
                                    "title": "Location",
                                    "type": "array",
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_additional_responses/test_tutorial003.py

                                "loc": {
                                    "title": "Location",
                                    "type": "array",
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.3K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_additional_responses/test_tutorial001.py

                                "loc": {
                                    "title": "Location",
                                    "type": "array",
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. tests/test_modules_same_name_body/test_main.py

                                "loc": {
                                    "title": "Location",
                                    "type": "array",
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/extra-models.md

    このようにして、モデル間の違いだけを宣言することができます(平文の`password`、`hashed_password`、パスワードなし):
    
    {* ../../docs_src/extra_models/tutorial002_py310.py hl[7,13:14,17:18,21:22] *}
    
    ## `Union` または `anyOf` { #union-or-anyof }
    
    レスポンスを2つ以上の型の`Union`として宣言できます。つまり、そのレスポンスはそれらのいずれかになります。
    
    OpenAPIでは`anyOf`で定義されます。
    
    そのためには、標準的なPythonの型ヒント[`typing.Union`](https://docs.python.org/3/library/typing.html#typing.Union)を使用します:
    
    /// note | 備考
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/base/SplitterTest.java

        String jacksons = "arfo(Marlon)aorf, (Michael)orfa, afro(Jackie)orfa, ofar(Jemaine), aff(Tito)";
        Iterable<String> family =
            COMMA_SPLITTER
                .trimResults(CharMatcher.anyOf("afro").or(CharMatcher.whitespace()))
                .split(jacksons);
        assertThat(family)
            .containsExactly("(Marlon)", "(Michael)", "(Jackie)", "(Jemaine)", "(Tito)")
            .inOrder();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/InternetDomainName.java

     * versions.
     *
     * @author Catherine Berry
     * @since 5.0
     */
    @GwtCompatible
    @Immutable
    public final class InternetDomainName {
    
      private static final CharMatcher DOTS_MATCHER = CharMatcher.anyOf(".\u3002\uFF0E\uFF61");
      private static final Splitter DOT_SPLITTER = Splitter.on('.');
    
      /**
       * Value of {@link #publicSuffixIndex()} or {@link #registrySuffixIndex()} which indicates that no
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 21:21:59 GMT 2026
    - 26.2K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_bigger_applications/test_main.py

                                "loc": {
                                    "title": "Location",
                                    "type": "array",
                                    "items": {
                                        "anyOf": [{"type": "string"}, {"type": "integer"}]
                                    },
                                },
                                "msg": {"title": "Message", "type": "string"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 22.8K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/Splitter.java

      }
    
      /**
       * Returns a splitter that considers any single character matched by the given {@code CharMatcher}
       * to be a separator. For example, {@code
       * Splitter.on(CharMatcher.anyOf(";,")).split("foo,;bar,quux")} returns an iterable containing
       * {@code ["foo", "", "bar", "quux"]}.
       *
       * @param separatorMatcher a {@link CharMatcher} that determines whether a character is a
       *     separator
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Splitter.java

      }
    
      /**
       * Returns a splitter that considers any single character matched by the given {@code CharMatcher}
       * to be a separator. For example, {@code
       * Splitter.on(CharMatcher.anyOf(";,")).split("foo,;bar,quux")} returns an iterable containing
       * {@code ["foo", "", "bar", "quux"]}.
       *
       * @param separatorMatcher a {@link CharMatcher} that determines whether a character is a
       *     separator
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
Back to Top