- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 54 for getItems (0.05 sec)
-
architecture/standards/0006-use-of-provider-apis-in-gradle.md
It's acceptable for implementation classes to be written to fit into existing code, but new classes must not instantiate managed properties or implement getters manually. This is preferred: ```groovy public interface NewThing { Property<String> getSomeProperty() } ``` This is acceptable: ```groovy public interface NewThing {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 20:00:57 UTC 2024 - 10K bytes - Viewed (0) -
docs/zh/docs/advanced/generate-clients.md
我们可以将 OpenAPI JSON 下载到一个名为`openapi.json`的文件中,然后使用以下脚本**删除此前缀的标签**: ```Python {!../../docs_src/generate_clients/tutorial004.py!} ``` 通过这样做,操作ID将从类似于 `items-get_items` 的名称重命名为 `get_items` ,这样客户端生成器就可以生成更简洁的方法名称。 ### 使用预处理的OpenAPI生成TypeScript客户端 现在,由于最终结果保存在文件openapi.json中,你可以修改 package.json 文件以使用此本地文件,例如: ```JSON hl_lines="7" { "name": "frontend-app",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9K bytes - Viewed (0) -
docs/changelogs/upgrading_to_okhttp_4.md
in a future release! If you’re skipping releases, it’ll be much easier if you upgrade to OkHttp 4.0 as an intermediate step. #### Vars and Vals Java doesn’t have language support for properties so developers make do with getters and setters. Kotlin does have properties and we take advantage of them in OkHttp. * **Address**: certificatePinner, connectionSpecs, dns, hostnameVerifier, protocols, proxy,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumBiMap.java
* probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more * trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 6.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumBiMap.java
* probably work around it by changing how we annotate the J2CL EnumMap, but that's probably more * trouble than just using Object.class.) * * Then we declare the getters for these fields as @GwtIncompatible so that no one can try to use * them under J2CL—or, as an unfortunate side effect, under GWT. We do still give the fields
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 6.3K bytes - Viewed (0) -
tests/test_extra_routes.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: Optional[float] = None @app.api_route("/items/{item_id}", methods=["GET"]) def get_items(item_id: str): return {"item_id": item_id} def get_not_decorated(item_id: str): return {"item_id": item_id} app.add_api_route("/items-not-decorated/{item_id}", get_not_decorated)
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.7K bytes - Viewed (0) -
tests/test_infer_param_optionality.py
@user_router.get("/") def get_users(): return [{"user_id": "u1"}, {"user_id": "u2"}] @user_router.get("/{user_id}") def get_user(user_id: str): return {"user_id": user_id} @item_router.get("/") def get_items(user_id: Optional[str] = None): if user_id is None: return [{"item_id": "i1", "user_id": "u1"}, {"item_id": "i2", "user_id": "u2"}] else: return [{"item_id": "i2", "user_id": user_id}]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 13.3K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
"const btn = document.querySelector('.theme-toggle');" + "const prefersDarkScheme = window.matchMedia('(prefers-color-scheme: dark)');" + "const currentTheme = localStorage.getItem('theme');" + "if (currentTheme == 'dark') {" + " document.body.classList.toggle('dark-theme');" + "} else if (currentTheme == 'light') {" +
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 20 14:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java
/** * Using simple dotted expressions to extract the values from an Object instance using JSP-like expressions * such as {@code project.build.sourceDirectory}. * <p> * In addition to usual getters using {@code getXxx} or {@code isXxx} suffixes, accessors * using {@code asXxx} or {@code toXxx} prefixes are also supported. * * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/main/webapp/js/admin/bootstrap.min.js.map
`closed${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst SELECTOR_DISMISS = '[data-dismiss=\"alert\"]'\n\n/**\n * Class definition\n */\n\nclass Alert {\n constructor(element) {\n this._element = element\n }\n\n // Getters\n static get VERSION() {\n return VERSION\n }\n\n // Public\n close(element) {\n let rootElement = this._element\n if (element) {\n rootElement = this._getRootElement(element)\n }\n\n const customEvent = this._triggerClose...
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 26 01:49:09 UTC 2024 - 180.9K bytes - Viewed (0)