- Sort Score
- Result 10 results
- Languages All
Results 4831 - 4840 of 7,014 for _return (0.05 sec)
-
compat/maven-settings/src/main/java/org/apache/maven/settings/BaseObject.java
this.delegate = requireNonNull(delegate, "delegate cannot be null"); this.childrenTracking = parent; } public Object getDelegate() { return delegate; } public void update(Object newDelegate) { if (delegate != newDelegate) { if (childrenTracking != null) { childrenTracking.replace(delegate, newDelegate);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-model/src/main/java/org/apache/maven/model/BaseObject.java
this.delegate = requireNonNull(delegate, "delegate cannot be null"); this.childrenTracking = parent; } public Object getDelegate() { return delegate; } public void update(Object newDelegate) { if (delegate != newDelegate) { if (childrenTracking != null) { childrenTracking.replace(delegate, newDelegate);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
istioctl/pkg/writer/table/writer_test.go
var newTestObject = func(name, namespace, version string) testObject { return testObject{ name: name, namespace: namespace, version: version, } } func TestWriter(t *testing.T) { got := &bytes.Buffer{} w := NewStyleWriter(got) w.AddHeader("NAME", "NAMESPACE", "VERSION") w.SetAddRowFunc(func(obj interface{}) Row { o := obj.(testObject) return Row{ Cells: []Cell{ NewCell(o.name),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Oct 08 04:41:42 UTC 2022 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKeywordMarkerFilterFactory.java
} @Override public TokenStream create(final TokenStream tokenStream) { if (keywordPath == null) { return tokenStream; } return new ReloadableKeywordMarkerFilter(tokenStream, keywordPath, reloadInterval); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java
} @Override public TokenStream create(final TokenStream tokenStream) { if (stopwordPath == null) { return tokenStream; } return new ReloadableStopFilter(tokenStream, stopwordPath, ignoreCase, reloadInterval); }
Registered: Fri Nov 08 09:08:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:54 UTC 2024 - 2.1K bytes - Viewed (0) -
tests/test_callable_endpoint.py
from functools import partial from typing import Optional from fastapi import FastAPI from fastapi.testclient import TestClient def main(some_arg, q: Optional[str] = None): return {"some_arg": some_arg, "q": q} endpoint = partial(main, "foo") app = FastAPI() app.get("/")(endpoint) client = TestClient(app) def test_partial(): response = client.get("/?q=bar") data = response.json()
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Jun 28 18:13:30 UTC 2020 - 457 bytes - Viewed (0) -
docs_src/bigger_applications/app_an/main.py
admin.router, prefix="/admin", tags=["admin"], dependencies=[Depends(get_token_header)], responses={418: {"description": "I'm a teapot"}}, ) @app.get("/") async def root():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 552 bytes - Viewed (0) -
docs_src/body/tutorial002.py
@app.post("/items/") async def create_item(item: Item): item_dict = item.dict() if item.tax: price_with_tax = item.price + item.tax item_dict.update({"price_with_tax": price_with_tax})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat May 14 11:59:59 UTC 2022 - 467 bytes - Viewed (0) -
docs_src/body_nested_models/tutorial004_py310.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Wed May 11 17:29:02 UTC 2022 - 455 bytes - Viewed (0) -
docs_src/query_param_models/tutorial002_an_py39.py
offset: int = Field(0, ge=0) order_by: Literal["created_at", "updated_at"] = "created_at" tags: list[str] = [] @app.get("/items/") async def read_items(filter_query: Annotated[FilterParams, Query()]):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 493 bytes - Viewed (0)