Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,041 for example (0.22 sec)

  1. tests/test_schema_extra_examples.py

                item: Item = Body(
                    example={"data": "Overridden example"},
                    examples=[
                        {"data": "examples example_examples 1"},
                        {"data": "examples example_examples 2"},
                    ],
                ),
            ):
                return item
    
        # TODO: enable these tests once/if Form(embed=False) is supported
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 37.7K bytes
    - Viewed (0)
  2. tests/test_openapi_examples.py

        data: str
    
    
    @app.post("/examples/")
    def examples(
        item: Item = Body(
            examples=[
                {"data": "Data in Body examples, example1"},
            ],
            openapi_examples={
                "Example One": {
                    "summary": "Example One Summary",
                    "description": "Example One Description",
                    "value": {"data": "Data in Body examples, example1"},
                },
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 17K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CertificatePinnerKotlinTest.kt

          CertificatePinner.Builder()
            .add("*.example.com", certA1Sha256Pin)
            .add("a.example.com", certB1Sha256Pin)
            .add("b.example.com", certC1Sha256Pin)
            .build()
    
        val expectedPins =
          listOf(
            Pin("*.example.com", certA1Sha256Pin),
            Pin("a.example.com", certB1Sha256Pin),
          )
        assertThat(certificatePinner.findMatchingPins("a.example.com")).isEqualTo(expectedPins)
      }
    
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  4. fastapi/params.py

            **extra: Any,
        ):
            if example is not _Unset:
                warnings.warn(
                    "`example` has been deprecated, please use `examples` instead",
                    category=DeprecationWarning,
                    stacklevel=4,
                )
            self.example = example
            self.include_in_schema = include_in_schema
            self.openapi_examples = openapi_examples
            kwargs = dict(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  5. fastapi/param_functions.py

            strict=strict,
            multiple_of=multiple_of,
            allow_inf_nan=allow_inf_nan,
            max_digits=max_digits,
            decimal_places=decimal_places,
            example=example,
            examples=examples,
            openapi_examples=openapi_examples,
            deprecated=deprecated,
            include_in_schema=include_in_schema,
            json_schema_extra=json_schema_extra,
            **extra,
        )
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    madeupscheme:/example.com/  s:madeupscheme p:/example.com/
    file:/example.com/  s:file p:/example.com/
    ftps:/example.com/  s:ftps p:/example.com/
    gopher:/example.com/  s:gopher h:example.com p:/
    ws:/example.com/  s:ws h:example.com p:/
    wss:/example.com/  s:wss h:example.com p:/
    data:/example.com/  s:data p:/example.com/
    javascript:/example.com/  s:javascript p:/example.com/
    mailto:/example.com/  s:mailto p:/example.com/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            url = "http://example.com/";
            exp = "http://example.com/";
            assertEquals(exp, transformer.decodeUrlAsName(url, false));
    
            url = "http://example.com/index.html";
            exp = "http://example.com/index.html";
            assertEquals(exp, transformer.decodeUrlAsName(url, false));
    
            url = "http://example.com/" + encodeUrl("ใƒ†ใ‚นใƒˆ ") + ".html";
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            data = "<img src=\"http://example/foo.jpg\">" //
                    + "<img src=\"http://example/bar.jpg\">";
            expected = "http://example/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    
            data = "<img src=\"http://example/foo.jpg\">" //
                    + "<img src=\"http://example/bar.jpg\" width=\"100\" height=\"100\">";
            expected = "http://example/bar.jpg";
            assertGetThumbnailUrl(data, expected);
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

     * A {@code PathType} can identify the Java class-path, the Java module-path,
     * or another kind of path for another programming language for example.
     * Path types are often exclusive. For example, a dependency should not be
     * both on the Java class-path and on the Java module-path.
     *
     * @see org.apache.maven.api.services.DependencyResolverResult#getDispatchedPaths()
     *
     * @since 4.0.0
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("example.com", "example.com")
        checkPublicSuffix("b.example.com", "example.com")
        checkPublicSuffix("a.b.example.com", "example.com")
        checkPublicSuffix("uk.com", null)
        checkPublicSuffix("example.uk.com", "example.uk.com")
        checkPublicSuffix("b.example.uk.com", "example.uk.com")
        checkPublicSuffix("a.b.example.uk.com", "example.uk.com")
        checkPublicSuffix("test.ac", "test.ac")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top