Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1081 - 1090 of 4,517 for getY (0.3 seconds)

  1. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

    from docs_src.behind_a_proxy.tutorial003_py310 import app
    
    client = TestClient(app)
    
    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == snapshot(
            {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.5K bytes
    - Click Count (0)
  2. docs_src/security/tutorial004_an_py310.py

        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/")
    async def read_users_me(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ) -> User:
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 18:10:35 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/path-params.md

    You can compare it with the *enumeration member* in your created enum `ModelName`:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[17] *}
    
    #### Get the *enumeration value* { #get-the-enumeration-value }
    
    You can get the actual value (a `str` in this case) using `model_name.value`, or in general, `your_enum_member.value`:
    
    {* ../../docs_src/path_params/tutorial005_py310.py hl[20] *}
    
    /// tip
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  4. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/SplitPackagesAuditTask.java

                        dependencyFile = dependencyFile.getParentFile();
                    }
                    String projectName = getParameters().getProjectBuildDirs().get().get(dependencyFile);
                    if (projectName == null) {
                        throw new IllegalStateException("Build directory unknown to gradle: " + dependencyFile);
                    }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 22:04:23 GMT 2021
    - 14.2K bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              ListenableFuture<String> iFuture = inputs.allFutures.get(i).future;
              ListenableFuture<String> jFuture = inputs.allFutures.get(j).future;
              ListenableFuture<List<String>> future = merger.merged(iFuture, jFuture);
    
              // Test timed get before we've completed any delayed futures.
              try {
                List<String> result = future.get(0, MILLISECONDS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              ListenableFuture<String> iFuture = inputs.allFutures.get(i).future;
              ListenableFuture<String> jFuture = inputs.allFutures.get(j).future;
              ListenableFuture<List<String>> future = merger.merged(iFuture, jFuture);
    
              // Test timed get before we've completed any delayed futures.
              try {
                List<String> result = future.get(0, MILLISECONDS);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    El `@app.get("/")` le dice a **FastAPI** que la función justo debajo se encarga de manejar requests que vayan a:
    
    * el path `/`
    * usando una <dfn title="un método HTTP GET"><code>get</code> operación</dfn>
    
    /// info | Información sobre `@decorator`
    
    Esa sintaxis `@algo` en Python se llama un "decorador".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    Le `@app.get("/")` indique à **FastAPI** que la fonction juste en dessous est chargée de gérer les requêtes qui vont vers :
    
    * le chemin `/`
    * en utilisant une <dfn title="une méthode HTTP GET"><code>get</code> opération</dfn>
    
    /// info | `@decorator` Info
    
    Cette syntaxe `@something` en Python est appelée un « décorateur ».
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 15.1K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/first-steps.md

    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    O `@app.get("/")` diz ao **FastAPI** que a função logo abaixo é responsável por tratar as requisições que vão para:
    
    * o path `/`
    * usando uma <dfn title="um método HTTP GET"><code>get</code> operação</dfn>
    
    /// info | Informações sobre `@decorator`
    
    Essa sintaxe `@alguma_coisa` em Python é chamada de "decorador".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 14.2K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

          override val dns: Dns
            get() = TODO()
    
          override val socketFactory: SocketFactory
            get() = TODO()
    
          override val retryOnConnectionFailure: Boolean
            get() = TODO()
          override val authenticator: Authenticator
            get() = TODO()
          override val cookieJar: CookieJar
            get() = TODO()
          override val cache: Cache?
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
Back to Top