- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,323 for Description (0.05 sec)
-
tests/test_response_code_no_body.py
errors: list[Error] @app.get( "/a", status_code=204, response_class=JsonApiResponse, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass @app.get("/b", responses={204: {"description": "No Content"}}) async def b(): pass # pragma: no cover client = TestClient(app) def test_get_response():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 3.2K bytes - Viewed (0) -
cmd/api-errors.go
apiErr, ok := e[errCode] if !ok { apiErr = e[ErrInternalError] } if err != nil { apiErr.Description = fmt.Sprintf("%s (%s)", apiErr.Description, err) } if region := globalSite.Region(); region != "" { if errCode == ErrAuthorizationHeaderMalformed { apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", region) return apiErr } }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Apr 16 07:34:24 UTC 2025 - 93K bytes - Viewed (3) -
tests/test_tutorial/test_path_operation_configurations/test_tutorial001.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6.2K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/50_maintainer_chore.yml
name: Chore description: Minor issue without significant impact labels: [ "a:chore", "to-triage" ] assignees: [ ] body: - type: dropdown id: issue-type attributes: label: Issue type options: - Polishing - Deprecation - Refactoring - Other validations: required: true - type: textarea id: description attributes: label: Problem descriptionRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Sep 12 11:52:53 UTC 2023 - 856 bytes - Viewed (0) -
tests/test_tutorial/test_separate_openapi_schemas/test_tutorial001.py
assert response.json() == {"name": "Foo", "description": None} def test_read_items(client: TestClient) -> None: response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [ { "name": "Portal Gun", "description": "Device to travel through the multi-rick-verse", },
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt
allowEmpty = true, description = "The baselines you want to run performance tests against. Empty means default baseline.", ) text( "testProject", "", display = ParameterDisplay.PROMPT, allowEmpty = false, description = "The test project to use. E.g. largeJavaMultiProject", )Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 22 07:15:16 UTC 2025 - 5.5K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial005.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 6.1K bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial003.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.1K bytes - Viewed (0) -
tests/test_openapi_servers.py
from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot app = FastAPI( servers=[ {"url": "/", "description": "Default, relative server"}, { "url": "http://staging.localhost.tiangolo.com:8000", "description": "Staging but actually localhost still", }, {"url": "https://prod.example.com"}, ] ) @app.get("/foo") def foo():
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_encoder/test_tutorial001.py
"title": "Foo", "timestamp": "2023-01-01T12:00:00", "description": "An optional description", }, ) assert response.status_code == 200 assert "123" in fake_db assert fake_db["123"] == { "title": "Foo", "timestamp": "2023-01-01T12:00:00", "description": "An optional description", } def test_put_invalid_data(client: TestClient, mod: ModuleType):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6.7K bytes - Viewed (0)