- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 754 for example (0.16 sec)
-
tests/test_tutorial/test_schema_extra_example/test_tutorial005_an_py310.py
from ...utils import needs_py310 @pytest.fixture(name="client") def get_client(): from docs_src.schema_extra_example.tutorial005_an_py310 import app client = TestClient(app) return client @needs_py310 def test_post_body_example(client: TestClient): response = client.put( "/items/5", json={ "name": "Foo",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Aug 26 18:03:13 GMT 2023 - 6.8K bytes - Viewed (0) -
tests/test_tutorial/test_metadata/test_tutorial001_1.py
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.7K bytes - Viewed (0) -
tests/test_openapi_servers.py
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 2K bytes - Viewed (0) -
docs/distributed/CONFIG.md
Following is an example YAML configuration structure. ```yaml version: v2 address: ":9000" rootUser: "minioadmin" rootPassword: "minioadmin" console-address: ":9001" certs-dir: "/home/user/.minio/certs/" pools: # Specify the nodes and drives with pools - args: - "https://server-example-pool1:9000/mnt/disk{1...4}/"
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 4.2K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_an.py
@app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Annotated[ Item, Body( openapi_examples={ "normal": { "summary": "A normal example", "description": "A **normal** item works correctly.", "value": { "name": "Foo",
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 26 18:03:13 GMT 2023 - 1.5K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial005_an_py310.py
@app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Annotated[ Item, Body( openapi_examples={ "normal": { "summary": "A normal example", "description": "A **normal** item works correctly.", "value": { "name": "Foo",
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Aug 26 18:03:13 GMT 2023 - 1.5K bytes - Viewed (0) -
tests/test_starlette_urlconvertors.py
def test_route_converters_path(): # Test path conversion response = client.get("/path/some/example") assert response.status_code == 200, response.text assert response.json() == {"path": "some/example"} def test_route_converters_query(): # Test query conversion response = client.get("/query", params={"param": "Qué tal!"})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sun Nov 27 14:46:06 GMT 2022 - 1.7K bytes - Viewed (0) -
fastapi/security/api_key.py
## Usage Create an instance object and use that object as the dependency in `Depends()`. The dependency result will be a string containing the key value. ## Example ```python from fastapi import Depends, FastAPI from fastapi.security import APIKeyQuery app = FastAPI() query_scheme = APIKeyQuery(name="api_key") @app.get("/items/")
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Tue Apr 23 22:29:18 GMT 2024 - 9.1K bytes - Viewed (0) -
okhttp-tls/README.md
``` With a server that holds a certificate and a client that trusts it we have enough for an HTTPS handshake. The best part of this example is that we don't need to make our test code insecure with a a fake `HostnameVerifier` or `X509TrustManager`. Certificate Authorities ----------------------- The above example uses a self-signed certificate. This is convenient for testing but not
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 9.1K bytes - Viewed (1) -
dbflute_fess/_readme.txt
manage.bat(sh) => 22 (doc): A execution command of Document task which creates documents, for example, SchemaHTML, HistoryHTML to the "output/doc" directory. manage.bat(sh) => 23 (generate): A execution command of Generate task which generates classes corresponding your tables, for example, entities, condition-beans to specified directories by DBFlute properties on "dfprop" directory.
Plain Text - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Sat Jul 04 22:46:31 GMT 2015 - 2.5K bytes - Viewed (0)