Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,370 for EXAMPLE (1.21 sec)

  1. tests/test_schema_extra_examples.py

            model_config = ConfigDict(
                json_schema_extra={"example": {"data": "Data in schema_extra"}}
            )
    
        @app.post("/schema_extra/")
        def schema_extra(item: Item):
            return item
    
        with pytest.warns(FastAPIDeprecationWarning):
    
            @app.post("/example/")
            def example(item: Item = Body(example={"data": "Data in Body example"})):
                return item
    
        @app.post("/examples/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  2. docs/distributed/samples/bootstrap-complete.ldif

    cn: Fahim Ahmed
    sn: Ahmed
    uid: fahim
    mail: fahmed@example.io
    userPassword: {SSHA}lRNH+PHooRaruiEb+CBEA21EZLMkAmcc
    
    # Add a user with special chars. The password = example here.
    dn: uid=Пользователь,OU=people,OU=swengg,DC=min,DC=io
    objectClass: inetOrgPerson
    cn: Special Charsman
    sn: Charsman
    uid: Пользователь
    mail: scharsman@example.io
    userPassword: {SSHA}XQSZqLPvYgm30wR7pk67a1GW+q+DDvSj
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

                    + "mailto:test@example.com\n" + "https://www.example.com/page4.html";
            final InputStream in = new ByteArrayInputStream(text.getBytes());
            final SitemapSet sitemapSet = sitemapsHelper.parse(in);
            final Sitemap[] sitemaps = sitemapSet.getSitemaps();
    
            // Should parse only valid http/https URLs
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                        <modelVersion>4.0.0</modelVersion>
                        <parent>
                            <groupId>com.example</groupId>
                            <artifactId>parent-project</artifactId>
                            <version>1.0.0</version>
                        </parent>
                        <groupId>com.example.child</groupId>
                        <artifactId>child-project</artifactId>
                        <version>2.0.0</version>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  5. cmd/endpoint_test.go

    		{[]string{"http://localhost:9000/d1", "http://localhost:9000/d2", "http://example.org:9000/d3", "http://example.com:9000/d4"}, []string{"example.com:9000", "example.org:9000", "localhost:9000"}, "localhost:9000"},
    		{[]string{"http://localhost:9000/d1", "http://localhost:10000/d2", "http://example.org:9000/d3", "http://example.com:9000/d4"}, []string{"example.com:9000", "example.org:9000", "localhost:10000", "localhost:9000"}, "localhost:9000"},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImplTest.java

            urlList.add("https://example.com/admin/.*");
            urlList.add("https://example.com/private/.*");
            urlList.add("https://example.com/secret/.*");
    
            // Execute
            service.addExcludeUrlFilter(sessionId, urlList);
    
            // Verify
            verify(dataHelper).addExcludeUrlPattern(sessionId, "https://example.com/admin/.*");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/curl/CurlRequestTest.java

            Proxy proxy = Proxy.NO_PROXY;
    
            CurlRequest result = request.proxy(proxy);
    
            assertSame(request, result); // Fluent API
            assertSame(proxy, request.proxy());
        }
    
        @Test
        public void testEncodingMethod() {
            CurlRequest request = new CurlRequest(Method.GET, "https://example.com");
            String encoding = "ISO-8859-1";
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. tests/test_response_model_data_filter.py

        response = client.post(
            "/users", json={"email": "johndoe@example.com", "password": "secret"}
        )
        assert response.json() == {"email": "johndoe@example.com"}
    
    
    def test_filter_second_level_model():
        response = client.get("/pets/1")
        assert response.json() == {
            "name": "Nibbler",
            "owner": {"email": "johndoe@example.com"},
        }
    
    
    def test_list_of_models():
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

            assertEquals("http://example.com:8080/path/file", HcHttpClient.constructRedirectLocation("http://example.com:8080/path/", "file"));
            assertEquals("http://example.com/%E3%83%86%E3%82%B9%E3%83%88",
                    HcHttpClient.constructRedirectLocation("http://example.com/", "テスト"));
            assertEquals("http://example.com/hello%20world", HcHttpClient.constructRedirectLocation("http://example.com/", "hello world"));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_settings/test_app03.py

        monkeypatch.setenv("ADMIN_EMAIL", "admin@example.com")
        settings = main_mod.get_settings()
        assert settings.app_name == "Awesome API"
        assert settings.admin_email == "admin@example.com"
        assert settings.items_per_user == 50
    
    
    def test_endpoint(main_mod: ModuleType, monkeypatch: MonkeyPatch):
        monkeypatch.setenv("ADMIN_EMAIL", "admin@example.com")
        client = TestClient(main_mod.app)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top