- Sort Score
- Result 10 results
- Languages All
Results 241 - 250 of 2,224 for get3 (0.03 sec)
-
cmd/bucket-policy.go
type PolicySys struct{} // Get returns stored bucket policy func (sys *PolicySys) Get(bucket string) (*policy.BucketPolicy, error) { policy, _, err := globalBucketMetadataSys.GetPolicyConfig(bucket) return policy, err } // IsAllowed - checks given policy args is allowed to continue the Rest API. func (sys *PolicySys) IsAllowed(args policy.BucketPolicyArgs) bool { p, err := sys.Get(args.BucketName) if err == nil {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 8K bytes - Viewed (0) -
tests/test_tutorial/test_query_params_str_validations/test_tutorial014_an_py39.py
@needs_py310 def test_hidden_query(client: TestClient): response = client.get("/items?hidden_query=somevalue") assert response.status_code == 200, response.text assert response.json() == {"hidden_query": "somevalue"} @needs_py310 def test_no_hidden_query(client: TestClient): response = client.get("/items") assert response.status_code == 200, response.text
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.1K bytes - Viewed (0) -
tests/test_router_redirect_slashes.py
app = FastAPI() router = APIRouter() @router.get("/hello/") def hello_page() -> str: return "Hello, World!" app.include_router(router) client = TestClient(app) response = client.get("/hello/", follow_redirects=False) assert response.status_code == 200 response = client.get("/hello", follow_redirects=False) assert response.status_code == 307
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Thu Jun 22 10:37:50 UTC 2023 - 974 bytes - Viewed (0) -
docs/es/docs/tutorial/first-steps.md
```Python hl_lines="6" {!../../docs_src/first_steps/tutorial001.py!} ``` El `@app.get("/")` le dice a **FastAPI** que la función que tiene justo debajo está a cargo de manejar los requests que van a: * el path `/` * usando una <abbr title="an HTTP GET method">operación <code>get</code></abbr> /// info | Información sobre `@decorator` Esa sintaxis `@algo` se llama un "decorador" en Python.
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.9K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
* **rota**: é `/`. * **operação**: é `get`. * **função**: é a função abaixo do "decorador" (abaixo do `@app.get("/")`). ```Python hl_lines="7" {!../../docs_src/first_steps/tutorial001.py!} ``` Esta é uma função Python. Ela será chamada pelo **FastAPI** sempre que receber uma requisição para a URL "`/ `" usando uma operação `GET`. Neste caso, é uma função `assíncrona`. ---
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.6K bytes - Viewed (0) -
docs/fr/docs/tutorial/first-steps.md
```Python hl_lines="6" {!../../docs_src/first_steps/tutorial001.py!} ``` Le `@app.get("/")` dit à **FastAPI** que la fonction en dessous est chargée de gérer les requêtes qui vont sur : * le chemin `/` * en utilisant une <abbr title="une méthode GET HTTP">opération <code>get</code></abbr> /// info | "`@décorateur` Info" Cette syntaxe `@something` en Python est appelée un "décorateur".
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
// required check if (!dataMap.containsKey(fessConfig.getIndexFieldUrl()) || dataMap.get(fessConfig.getIndexFieldUrl()) == null) { logger.warn("Could not add a doc. Invalid data: {}", dataMap); return; } final String url = dataMap.get(fessConfig.getIndexFieldUrl()).toString(); final CrawlerClient client = crawlerClientFactory.getClient(url);
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.8K bytes - Viewed (0) -
tests/test_response_class_no_mediatype.py
status: str title: str class JsonApiError(BaseModel): errors: typing.List[Error] @app.get( "/a", response_class=Response, responses={500: {"description": "Error", "model": JsonApiError}}, ) async def a(): pass # pragma: no cover @app.get("/b", responses={500: {"description": "Error", "model": Error}}) async def b(): pass # pragma: no cover
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/bsbhv/BsJobLogBhv.java
result.setEndTime(DfTypeUtil.toLong(source.get("endTime"))); result.setJobName(DfTypeUtil.toString(source.get("jobName"))); result.setJobStatus(DfTypeUtil.toString(source.get("jobStatus"))); result.setLastUpdated(DfTypeUtil.toLong(source.get("lastUpdated"))); result.setScriptData(DfTypeUtil.toString(source.get("scriptData")));
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java
final CrawlingConfig crawlingConfig = crawlingConfigHelper.get(crawlerContext.getSessionId()); final Map<String, String> clientConfigMap = crawlingConfig.getConfigParameterMap(ConfigName.CLIENT); final String value = clientConfigMap.get(CRAWLER_CLIENTS); final CrawlerClient client = getClientRuleList(value).stream().map(e -> {
Registered: Mon Oct 28 08:04:08 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 14.6K bytes - Viewed (0)