- Sort Score
- Num 10 results
- Language All
Results 671 - 680 of 1,407 for convert (0.09 seconds)
-
tests/test_tutorial/test_body_fields/test_tutorial001.py
"200": { "description": "Successful Response", "content": {"application/json": {"schema": {}}}, }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 6.3K bytes - Click Count (0) -
docs_src/handling_errors/tutorial005_py39.py
app = FastAPI() @app.exception_handler(RequestValidationError) async def validation_exception_handler(request: Request, exc: RequestValidationError): return JSONResponse( status_code=422, content=jsonable_encoder({"detail": exc.errors(), "body": exc.body}), ) class Item(BaseModel): title: str size: int @app.post("/items/") async def create_item(item: Item):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 626 bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java
* @throws DomTripException if there's an error parsing the XML */ private static Document loadPom(Path pomPath) throws IOException, DomTripException { String content = Files.readString(pomPath); return new Parser().parse(content); } /** * Recursively discovers module POMs from the given parent POM. * * @param baseDirectory the base directory for resolving module paths
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/ja/docs/advanced/custom-response.md
メインの `Response` クラスで、他の全てのレスポンスはこれを継承しています。 直接返すことができます。 以下のパラメータを受け付けます。 * `content` - `str` か `bytes`。 * `status_code` - `int` のHTTPステータスコード。 * `headers` - 文字列の `dict` 。 * `media_type` - メディアタイプを示す `str` 。例えば `"text/html"` 。 FastAPI (実際にはStarlette) は自動的にContent-Lengthヘッダーを含みます。また、media_typeに基づいたContent-Typeヘッダーを含み、テキストタイプのためにcharsetを追加します。 {* ../../docs_src/response_directly/tutorial002.py hl[1,18] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 10.4K bytes - Click Count (0) -
api/go1.24.txt
pkg testing, method (*B) Chdir(string) #62516 pkg testing, method (*B) Context() context.Context #36532 pkg testing, method (*B) Loop() bool #61515 pkg testing, method (*F) Chdir(string) #62516 pkg testing, method (*F) Context() context.Context #36532 pkg testing, method (*T) Chdir(string) #62516 pkg testing, method (*T) Context() context.Context #36532 pkg testing, type TB interface, Chdir(string) #62516
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 17 21:28:29 GMT 2024 - 14.2K bytes - Click Count (0) -
cmd/object-api-datatypes.go
RestoreOngoing bool // A standard MIME type describing the format of the object. ContentType string // Specifies what content encodings have been applied to the object and thus // what decoding mechanisms must be applied to obtain the object referenced // by the Content-Type header field. ContentEncoding string // Date and time at which the object is no longer able to be cached Expires time.Time
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 21.2K bytes - Click Count (0) -
tests/test_tutorial/test_custom_response/test_tutorial001b.py
"/items/": { "get": { "responses": { "200": { "description": "Successful Response", "content": {"application/json": {"schema": {}}}, } }, "summary": "Read Items", "operationId": "read_items_items__get", }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 1K bytes - Click Count (0) -
tests/test_tutorial/test_custom_response/test_tutorial005.py
"operationId": "main__get", "responses": { "200": { "description": "Successful Response", "content": {"text/plain": {"schema": {"type": "string"}}}, } }, } } },
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 985 bytes - Click Count (0) -
.github/workflows/pre-commit.yml
env: # Forks and Dependabot don't have access to secrets HAS_SECRETS: ${{ secrets.PRE_COMMIT != '' }} jobs: pre-commit: runs-on: ubuntu-latest steps: - name: Dump GitHub context env: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@v5 name: Checkout PR for own repo if: env.HAS_SECRETS == 'true'
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 23 11:17:16 GMT 2025 - 3K bytes - Click Count (0) -
tests/test_tutorial/test_header_param_models/test_tutorial001.py
"description": "Successful Response", "content": {"application/json": {"schema": {}}}, }, "422": { "description": "Validation Error", "content": { "application/json": { "schema": {
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 7.3K bytes - Click Count (0)