Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 1,483 for exemplo (0.05 sec)

  1. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    ///
    
    Vous pouvez étendre le schéma OpenAPI pour une *opération de chemin* en utilisant le paramètre `openapi_extra`.
    
    ### Extensions OpenAPI
    
    Cet `openapi_extra` peut être utile, par exemple, pour déclarer [OpenAPI Extensions](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#specificationExtensions) :
    
    ```Python hl_lines="6"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tests/test_schema_extra_examples.py

                    json_schema_extra={"example": {"data": "Data in schema_extra"}}
                )
            else:
    
                class Config:
                    schema_extra = {"example": {"data": "Data in schema_extra"}}
    
        @app.post("/schema_extra/")
        def schema_extra(item: Item):
            return item
    
        with pytest.warns(DeprecationWarning):
    
            @app.post("/example/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  4. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. tests/test_response_model_data_filter_no_inheritance.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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. fess-crawler/src/test/resources/sitemaps/sitemap1.txt

    http://www.example.com/
    http://www.example.com/catalog?item=12&desc=vacation_hawaii
    http://www.example.com/catalog?item=73&desc=vacation_new_zealand
    http://www.example.com/catalog?item=74&desc=vacation_newfoundland
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 273 bytes
    - Viewed (0)
  7. docs/fr/docs/tutorial/body-multiple-params.md

    Dans l'exemple précédent, les opérations de routage attendaient un body JSON avec les attributs d'un `Item`, par exemple :
    
    ```JSON
    {
        "name": "Foo",
        "description": "The pretender",
        "price": 42.0,
        "tax": 3.2
    }
    ```
    
    Mais vous pouvez également déclarer plusieurs paramètres provenant de body, par exemple `item` et `user` simultanément :
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="20"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. fess-crawler/src/test/resources/sitemaps/sitemap1.xml.gz

    sitemap1.xml http://www.example.com/ 2005-01-01 monthly 0.8 http://www.example.com/catalog?item=12&desc=vacation_hawaii weekly http://www.example.com/catalog?item=73&desc=vacation_new_zealand 2004-12-23 weekly http://www.example.com/catalog?item=74&desc=vacation_newfoundland 2004-12-23T18:00:15+00:00 0.3 http://www.example.com/catalog?item=83&desc=vacation_usa 2004-11-23...
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 332 bytes
    - Viewed (0)
  9. 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";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  10. fess-crawler/src/test/resources/sitemaps/sitemap1.xml

       <url>
          <loc>http://www.example.com/</loc>
          <lastmod>2005-01-01</lastmod>
          <changefreq>monthly</changefreq>
          <priority>0.8</priority>
       </url>
       <url>
          <loc>http://www.example.com/catalog?item=12&amp;desc=vacation_hawaii</loc>
          <changefreq>weekly</changefreq>
       </url>
       <url>
          <loc>http://www.example.com/catalog?item=73&amp;desc=vacation_new_zealand</loc>
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 915 bytes
    - Viewed (0)
Back to top