- Sort Score
- Result 10 results
- Languages All
Results 681 - 690 of 1,638 for item2 (0.04 sec)
-
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
isCommit = true; if (item != null && item.isUpdated()) { try { writer.write(item.toLineString()); writer.write(Constants.LINE_SEPARATOR); return item; } catch (final IOException e) { throw new DictionaryException("Failed to write: " + item, e); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 9.6K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_py310.py
assert response.json() == {"detail": "Inactive user"} @needs_py310 def test_read_items(client: TestClient): access_token = get_access_token(scope="me items", client=client) response = client.get( "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo", "owner": "johndoe"}]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial005_py39.py
assert response.json() == {"detail": "Inactive user"} @needs_py39 def test_read_items(client: TestClient): access_token = get_access_token(scope="me items", client=client) response = client.get( "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo", "owner": "johndoe"}]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 16.3K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial012_py39.py
return client @needs_py39 def test_default_query_values(client: TestClient): url = "/items/" response = client.get(url) assert response.status_code == 200, response.text assert response.json() == {"q": ["foo", "bar"]} @needs_py39 def test_multi_query_values(client: TestClient): url = "/items/?q=baz&q=foobar" response = client.get(url) assert response.status_code == 200, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.6K bytes - Viewed (0) -
docs/ja/docs/tutorial/body-multiple-params.md
`Body`もまた、後述する `Query` や `Path` などと同様に、すべての検証パラメータとメタデータパラメータを持っています。 /// ## 単一のボディパラメータの埋め込み Pydanticモデル`Item`のボディパラメータ`item`を1つだけ持っているとしましょう。 デフォルトでは、**FastAPI**はそのボディを直接期待します。 しかし、追加のボディパラメータを宣言したときのように、キー `item` を持つ JSON とその中のモデルの内容を期待したい場合は、特別な `Body` パラメータ `embed` を使うことができます: ```Python item: Item = Body(..., embed=True) ``` 以下において: ```Python hl_lines="17"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.8K bytes - Viewed (0) -
tests/test_param_class.py
from fastapi.params import Param from fastapi.testclient import TestClient app = FastAPI() @app.get("/items/") def read_items(q: Optional[str] = Param(default=None)): # type: ignore return {"q": q} client = TestClient(app) def test_default_param_query_none(): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == {"q": None}
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri May 13 23:38:22 UTC 2022 - 636 bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial001_py310.py
return client @needs_py310 @pytest.mark.parametrize( "path,headers,expected_status,expected_response", [ ("/items", None, 200, {"User-Agent": "testclient"}), ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}), ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}), ], )
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 4K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java
request.getArtifact(), request.getRemoteRepositories()); } } private static <T> List<T> toList(Collection<T> items) { return (items != null) ? new ArrayList<>(items) : null; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
// Each group is a List of items, each item has a list of factory args. final List<List<List<Object>>> argGroups = Lists.newArrayList(); argGroups.add(ImmutableList.of(args, equalArgs)); EqualsTester tester = new EqualsTester( new ItemReporter() { @Override String reportItem(Item<?> item) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
src/main/resources/fess_message_ko.properties
# --------------- constraints.AssertFalse.message = {item}은 false로 하십시오. constraints.AssertTrue.message = {item}은 true로 하십시오. constraints.DecimalMax.message = {item}는 {value}보다 작아야합니다. constraints.DecimalMin.message = {item}는 {value}보다 커야합니다. constraints.Digits.message = {item}은 숫자값이어야 합니다. (기대 값 : <숫자값>.<숫자값>) constraints.Future.message = {item}은 미래에 있어야 합니다. constraints.Max.message = {item}는 {value} 다음에 하십시오.
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Jul 07 06:11:30 UTC 2018 - 11.1K bytes - Viewed (0)