Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,369 for Put (0.02 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

                        return null;
                    })).status(ApiResult.Status.OK).result());
        }
    
        // PUT /api/admin/dict/stopwords/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: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/fileconfig/ApiAdminFileconfigAction.java

                return null;
            })).status(Status.OK).result());
        }
    
        // PUT /api/admin/fileconfig/setting
        @Execute
        public JsonResponse<ApiResult> put$setting(final CreateBody body) {
            validateApi(body, messages -> {});
            body.crudMode = CrudMode.CREATE;
            final FileConfig fileConfig = getFileConfig(body).map(entity -> {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/systeminfo/AdminSysteminfoAction.java

        }
    
        protected static Map<String, String> createItem(final Object label, final Object value) {
            final Map<String, String> map = new HashMap<>(2);
            map.put(Constants.ITEM_LABEL, label != null ? label.toString() : StringUtil.EMPTY);
            map.put(Constants.ITEM_VALUE, value != null ? value.toString() : StringUtil.EMPTY);
            return map;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. docs_src/schema_extra_example/tutorial004.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        *,
        item_id: int,
        item: Item = Body(
            examples=[
                {
                    "name": "Foo",
                    "description": "A very nice Item",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jul 01 16:43:29 UTC 2023
    - 824 bytes
    - Viewed (0)
  5. docs/ru/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Возвращаясь к предыдущему примеру кода, **FastAPI** будет:
    
    * Проверять наличие `item_id` в пути для запросов `GET` и `PUT`.
    * Проверять, что `item_id` имеет тип `int` для запросов `GET` и `PUT`.
        * Если это не так, клиент увидит полезную чёткую ошибку.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/user/exentity/Role.java

            this.attributes = attributes;
        }
    
        @Override
        public Map<String, Object> toSource() {
            final Map<String, Object> sourceMap = new HashMap<>();
            if (name != null) {
                sourceMap.put("name", name);
            }
            if (attributes != null) {
                sourceMap.putAll(attributes);
            }
            return sourceMap;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/text/DecimalFormatSymbolsUtil.java

            assertArgumentNotNull("locale", locale);
    
            DecimalFormatSymbols symbols = CACHE.get(locale);
            if (symbols == null) {
                symbols = new DecimalFormatSymbols(locale);
                CACHE.put(locale, symbols);
            }
            return symbols;
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. docs_src/body_multiple_params/tutorial001_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: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str | None = None,
        item: Item | None = None,
    ):
        results = {"item_id": item_id}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 579 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

            }
    
            final Map<String, Object> source = new HashMap<>();
            source.put(FieldNames.ARRAY_KEY, key);
            source.put(FieldNames.ARRAY_VALUE, value);
            source.put(FieldNames.TIMESTAMP, DateTimeFormatter.ISO_INSTANT.format(ZonedDateTime.now()));
    
            addToArrayIndex(arraySettingsIndexName, settingsId, createId(key, value), source);
        }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. docs/vi/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Quay trở lại ví dụ trước, **FastAPI** sẽ thực hiện:
    
    * Kiểm tra xem có một `item_id` trong đường dẫn với các request `GET` và `PUT` không?
    * Kiểm tra xem `item_id` có phải là kiểu `int` trong các request `GET` và `PUT` không?
        * Nếu không, client sẽ thấy một lỗi rõ ràng và hữu ích.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top