- Sort Score
- Result 10 results
- Languages All
Results 631 - 640 of 3,545 for getT (0.04 sec)
-
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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.9K 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 10.3K 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 Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt
value: String, ) { builder.password(value) } override operator fun get(url: HttpUrl): String = url.password }, HOST { override fun urlString(value: String): String = "http://a${value}z.com/" override fun encodedValue(url: HttpUrl): String = get(url) override operator fun set( builder: HttpUrl.Builder, value: String, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/plugin/ApiAdminPluginAction.java
public class ApiAdminPluginAction extends FessApiAdminAction { // GET /api/admin/plugin/installed @Execute public JsonResponse<ApiResult> get$installed() { final List<Map<String, String>> list = getAllInstalledArtifacts(); return asJson(new ApiResult.ApiPluginResponse().plugins(list).status(ApiResult.Status.OK).result()); } // GET /api/admin/plugin/available @Execute
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java
/** * Username used to log in to the host */ private String username; /** * Password associated with the login */ private String password; /** * Get the user's password which is used when connecting to the repository. * * @return password of user */ public String getPassword() { return password; } /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
docs/en/docs/advanced/using-request-directly.md
But there are specific cases where it's useful to get the `Request` object. ## Use the `Request` object directly Let's imagine you want to get the client's IP address/host inside of your *path operation function*. For that you need to access the request directly. ```Python hl_lines="1 7-8" {!../../docs_src/using_request_directly/tutorial001.py!} ```
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 2.3K bytes - Viewed (0) -
tests/test_tutorial/test_custom_response/test_tutorial001.py
from docs_src.custom_response.tutorial001 import app client = TestClient(app) def test_get_custom_response(): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo"}] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py
client = TestClient(app) def test_get(): response = client.get("/items/") assert response.status_code == 200, response.text assert response.json() == [{"item_id": "Foo"}] def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 1020 bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheManualTest.java
assertTrue(cache.asMap().containsKey(one)); assertTrue(cache.asMap().containsValue(two)); assertSame(one, cache.getIfPresent(two)); stats = cache.stats(); assertEquals(3, stats.missCount()); assertEquals(0, stats.loadSuccessCount()); assertEquals(0, stats.loadExceptionCount()); assertEquals(3, stats.hitCount()); assertSame(one, cache.asMap().get(two));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 5.4K bytes - Viewed (0)