- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for have (0.15 sec)
-
tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py
}, "summary": "Create an item", "description": "Create an item with all the information:\n\n- **name**: each item must have a name\n- **description**: a long description\n- **price**: required\n- **tax**: if the item doesn't have tax, you can omit this\n- **tags**: a set of unique tag strings for this item", "operationId": "create_item_items__post", "requestBody": {
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Sep 28 04:14:40 GMT 2023 - 8.7K bytes - Viewed (0) -
tests/test_tutorial/test_path_params/test_tutorial005.py
def test_get_enums_resnet(): response = client.get("/models/resnet") assert response.status_code == 200 assert response.json() == {"model_name": "resnet", "message": "Have some residuals"} def test_get_enums_invalid(): response = client.get("/models/foo") assert response.status_code == 422 assert response.json() == IsDict( { "detail": [
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Sep 28 04:14:40 GMT 2023 - 5K bytes - Viewed (0)