Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 707 for punt (0.03 sec)

  1. docs/ko/docs/index.md

    이전 코드 예제로 돌아가서, **FastAPI**는 다음처럼 처리합니다:
    
    * `GET` 및 `PUT` 요청에 `item_id`가 경로에 있는지 검증.
    * `GET` 및 `PUT` 요청에 `item_id`가 `int` 타입인지 검증.
        * 그렇지 않다면 클라이언트는 유용하고 명확한 에러를 볼 수 있습니다.
    * `GET` 요청에 `q`라는 선택적인 쿼리 매개변수가 검사(`http://127.0.0.1:8000/items/foo?q=somequery`처럼).
        * `q` 매개변수는 `= None`으로 선언되었기 때문에 선택사항입니다.
        * `None`이 없다면 필수사항입니다(`PUT`의 경우와 마찬가지로).
    * `/items/{item_id}`으로의 `PUT` 요청은 본문을 JSON으로 읽음:
        * `name`을 필수 속성으로 갖고 `str` 형인지 검사.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 16:50:01 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. docs/pl/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Wracając do poprzedniego przykładu, **FastAPI** :
    
    * Potwierdzi, że w ścieżce jest `item_id` dla żądań `GET` i `PUT`.
    * Potwierdzi, że `item_id` jest typu `int` dla żądań `GET` i `PUT`.
        * Jeżeli nie jest, odbiorca zobaczy przydatną, przejrzystą wiadomość z błędem.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. docs_src/body_updates/tutorial001_py39.py

        "baz": {"name": "Baz", "description": None, "price": 50.2, "tax": 10.5, "tags": []},
    }
    
    
    @app.get("/items/{item_id}", response_model=Item)
    async def read_item(item_id: str):
        return items[item_id]
    
    
    @app.put("/items/{item_id}", response_model=Item)
    async def update_item(item_id: str, item: Item):
        update_item_encoded = jsonable_encoder(item)
        items[item_id] = update_item_encoded
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 900 bytes
    - Viewed (0)
  4. docs/tr/docs/tutorial/first-steps.md

    Bir API oluştururken, "yol", "kaynaklar" ile "endişeleri" ayırmanın ana yöntemidir.
    
    #### Operasyonlar
    
    Burada "operasyon" HTTP "metodlarından" birini ifade eder.
    
    Bunlardan biri:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...veya daha az kullanılan diğerleri:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/fileauth/ApiAdminFileauthAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // PUT /api/admin/fileauth/setting
        @Execute
        public JsonResponse<ApiResult> put$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            if (!isValidFileConfigId(body.fileConfigId)) {
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. docs_src/schema_extra_example/tutorial005_an_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Annotated[
            Item,
            Body(
                openapi_examples={
                    "normal": {
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sat Aug 26 18:03:13 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. docs/nl/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Terugkomend op het vorige code voorbeeld, **FastAPI** zal:
    
    * Valideren dat er een `item_id` bestaat in het pad voor `GET` en `PUT` verzoeken.
    * Valideren dat het `item_id` van het type `int` is voor `GET` en `PUT` verzoeken.
        * Wanneer dat niet het geval is, krijgt de cliënt een nuttige, duidelijke foutmelding.
    Registered: Sun Oct 27 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle-handlers_test.go

    				Resource: SlashSeparator + bucketName + SlashSeparator,
    				Code:     "InvalidAccessKeyId",
    				Message:  "The Access Key Id you provided does not exist in our records.",
    			},
    			shouldPass: false,
    		},
    		// PUT empty credentials
    		{
    			method:             http.MethodPut,
    			bucketName:         bucketName,
    			accessKey:          "",
    			secretKey:          "",
    			expectedRespStatus: http.StatusForbidden,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/mapping/ApiAdminDictMappingAction.java

                        return null;
                    })).status(ApiResult.Status.OK).result());
        }
    
        // PUT /api/admin/dict/mapping/setting/{dictId}
        @Execute
        public JsonResponse<ApiResult> put$setting(final String dictId, final CreateBody body) {
            body.dictId = dictId;
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stemmeroverride/ApiAdminDictStemmeroverrideAction.java

                        return null;
                    })).status(ApiResult.Status.OK).result());
        }
    
        // PUT /api/admin/dict/stemmerOverride/setting/{dictId}
        @Execute
        public JsonResponse<ApiResult> put$setting(final String dictId, final CreateBody body) {
            body.dictId = dictId;
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top