Search Options

Results per page
Sort
Preferred Languages
Advance

Results 631 - 640 of 1,385 for putA (0.04 sec)

  1. docs/tr/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Az önceki örneğe geri dönelim, **FastAPI**'ın yapacaklarına bir bakış atalım:
    
    * `item_id`'nin `GET` ve `PUT` istekleri için, yolda olup olmadığının kontol edecek.
    * `item_id`'nin `GET` ve `PUT` istekleri için, tipinin `int` olduğunu doğrulayacak.
        * Eğer değilse, sebebini belirten bir hata mesajı gösterecek.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 16 16:50:01 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. docs_src/body_nested_models/tutorial006.py

    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
        tags: Set[str] = set()
        images: Union[List[Image], None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
        results = {"item_id": item_id, "item": item}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 530 bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbAuthenticationHolder.java

    /**
     * @author shinsuke
     *
     */
    public class SmbAuthenticationHolder {
        private final Map<String, SmbAuthentication> authMap = new HashMap<>();
    
        public void add(final SmbAuthentication auth) {
            authMap.put(auth.getPathPrefix(), auth);
        }
    
        public SmbAuthentication get(final String path) {
            if (path == null) {
                return null;
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. android/guava/src/com/google/common/collect/Maps.java

            if (valueEquivalence.equivalent(leftValue, rightValue)) {
              onBoth.put(leftKey, leftValue);
            } else {
              differences.put(leftKey, ValueDifferenceImpl.create(leftValue, rightValue));
            }
          } else {
            onlyOnLeft.put(leftKey, leftValue);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

            if (valueEquivalence.equivalent(leftValue, rightValue)) {
              onBoth.put(leftKey, leftValue);
            } else {
              differences.put(leftKey, ValueDifferenceImpl.create(leftValue, rightValue));
            }
          } else {
            onlyOnLeft.put(leftKey, leftValue);
          }
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top