- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for example (0.51 sec)
-
tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py
"url": IsOneOf( "https://stag.example.com/", # TODO: remove when deprecating Pydantic v1 "https://stag.example.com", ), "description": "Staging environment", }, { "url": IsOneOf( "https://prod.example.com/", # TODO: remove when deprecating Pydantic v1
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 1.6K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial004.py
from dirty_equals import IsDict from fastapi.testclient import TestClient from docs_src.schema_extra_example.tutorial004 import app client = TestClient(app) # Test required and embedded body parameters with no bodies sent def test_post_body_example(): response = client.put( "/items/5", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4,
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 6.9K bytes - Viewed (0)