- Sort Score
- Result 10 results
- Languages All
Results 1901 - 1910 of 3,843 for getT (0.15 sec)
-
samples/slack/src/main/java/okhttp3/slack/SlackApi.java
* http://localhost:53203/oauth/}, passing the same port to this class’ constructor. */ public final class SlackApi { private final HttpUrl baseUrl = HttpUrl.get("https://slack.com/api/"); private final OkHttpClient httpClient; private final Moshi moshi; public final String clientId; public final String clientSecret; public final int port;
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java
for (int index = 0; index < size; index++) { sum += arrayList.get(index).hashCode(); } } return sum; } @Benchmark int arrayListIndexedLength(int reps) { int sum = 0; for (int i = 0; i < reps; i++) { for (int index = 0; index < arrayList.size(); index++) { sum += arrayList.get(index).hashCode(); } } return sum; } @Benchmark
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.1K bytes - Viewed (0) -
bin/update_crds.sh
SHA=$(grep "istio.io/api" go.mod | head -n1 | awk '{ print $2 }') if [[ ${SHA} == *"-"* && ! ${SHA} =~ -rc.[0-9]$ && ! ${SHA} =~ -beta.[0-9]$ && ! ${SHA} =~ -alpha.[0-9]$ ]]; then # not an official release or release candidate, so get the commit sha SHA=$(echo "${SHA}" | awk -F '-' '{ print $NF }') fi fi if [ -z "${SHA}" ]; then
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Oct 01 20:23:30 UTC 2024 - 3.5K bytes - Viewed (0) -
docs_src/query_params_str_validations/tutorial010_an_py39.py
from typing import Annotated, Union from fastapi import FastAPI, Query app = FastAPI() @app.get("/items/") async def read_items( q: Annotated[ Union[str, None], Query( alias="item-query", title="Query string", description="Query string for the items to search in the database that have a good match", min_length=3, max_length=50,
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 24 20:26:06 UTC 2023 - 635 bytes - Viewed (0) -
docs_src/dependencies/tutorial003_py310.py
class CommonQueryParams: def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons=Depends(CommonQueryParams)): response = {} if commons.q: response.update({"q": commons.q}) items = fake_items_db[commons.skip : commons.skip + commons.limit]
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 603 bytes - Viewed (0) -
docs_src/openapi_webhooks/tutorial001.py
""" When a new user subscribes to your service we'll send you a POST request with this data to the URL that you register for the event `new-subscription` in the dashboard. """ @app.get("/users/") def read_users():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Oct 20 09:00:44 UTC 2023 - 550 bytes - Viewed (0) -
docs_src/header_param_models/tutorial001_py39.py
app = FastAPI() class CommonHeaders(BaseModel): host: str save_data: bool if_modified_since: Union[str, None] = None traceparent: Union[str, None] = None x_tag: list[str] = [] @app.get("/items/") async def read_items(headers: CommonHeaders = Header()):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 390 bytes - Viewed (0) -
docs_src/cookie_param_models/tutorial002_pv1_an_py39.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 406 bytes - Viewed (0) -
docs_src/custom_response/tutorial004.py
</head> <body> <h1>Look ma! HTML!</h1> </body> </html> """ return HTMLResponse(content=html_content, status_code=200) @app.get("/items/", response_class=HTMLResponse) async def read_items():
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 491 bytes - Viewed (0) -
docs_src/dependencies/tutorial002_py310.py
class CommonQueryParams: def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100): self.q = q self.skip = skip self.limit = limit @app.get("/items/") async def read_items(commons: CommonQueryParams = Depends(CommonQueryParams)): response = {} if commons.q: response.update({"q": commons.q})
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jan 07 14:11:31 UTC 2022 - 624 bytes - Viewed (0)