Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,178 for get3 (0.02 sec)

  1. tests/test_ambiguous_params.py

                " default value with `=` instead."
            ),
        ):
    
            @app.get("/")
            async def get(item_id: Annotated[int, Query(default=1)]):
                pass  # pragma: nocover
    
    
    def test_multiple_annotations():
        async def dep():
            pass  # pragma: nocover
    
        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 2K bytes
    - Viewed (1)
  2. docs/ru/docs/tutorial/security/get-current-user.md

    # Получить текущего пользователя { #get-current-user }
    
    В предыдущей главе система безопасности (основанная на системе внедрения зависимостей) передавала *функции-обработчику пути* `token` типа `str`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    Но это всё ещё не слишком полезно.
    
    Сделаем так, чтобы она возвращала текущего пользователя.
    
    ## Создать модель пользователя { #create-a-user-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/security/get-current-user.md

    # Obtener Usuario Actual { #get-current-user }
    
    En el capítulo anterior, el sistema de seguridad (que se basa en el sistema de inyección de dependencias) le estaba dando a la *path operation function* un `token` como un `str`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    Pero eso aún no es tan útil. Vamos a hacer que nos dé el usuario actual.
    
    ## Crear un modelo de usuario { #create-a-user-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

    # Get Current User { #get-current-user }
    
    In the previous chapter the security system (which is based on the dependency injection system) was giving the *path operation function* a `token` as a `str`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    But that is still not that useful.
    
    Let's make it give us the current user.
    
    ## Create a user model { #create-a-user-model }
    
    First, let's create a Pydantic user model.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/security/get-current-user.md

    # Aktuellen Benutzer abrufen { #get-current-user }
    
    Im vorherigen Kapitel hat das Sicherheitssystem (das auf dem Dependency Injection System basiert) der *Pfadoperation-Funktion* einen `token` vom Typ `str` überreicht:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    Aber das ist immer noch nicht so nützlich.
    
    Lassen wir es uns den aktuellen Benutzer überreichen.
    
    ## Ein Benutzermodell erstellen { #create-a-user-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/security/get-current-user.md

    # Obter Usuário Atual { #get-current-user }
    
    No capítulo anterior, o sistema de segurança (que é baseado no sistema de injeção de dependências) estava fornecendo à *função de operação de rota* um `token` como uma `str`:
    
    {* ../../docs_src/security/tutorial001_an_py39.py hl[12] *}
    
    Mas isso ainda não é tão útil.
    
    Vamos fazer com que ele nos forneça o usuário atual.
    
    ## Criar um modelo de usuário { #create-a-user-model }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Objects.java

       * single Object array, do not get any special handling; their hash codes are based on identity
       * and not contents.
       *
       * <p>This is useful for implementing {@link Object#hashCode()}. For example, in an object that
       * has three properties, {@code x}, {@code y}, and {@code z}, one could write:
       *
       * {@snippet :
       * public int hashCode() {
       *   return Objects.hashCode(getX(), getY(), getZ());
       * }
       * }
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 22:51:26 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

            final Map<String, Object> dest = newHashMap();
            BeanUtil.copyBeanToMap(src, dest);
            assertThat(dest.get("aaa"), is((Object) "aaa"));
            assertThat(dest.get("bbb"), is(nullValue()));
            assertThat(dest.get("ccc"), is((Object) "ccc"));
            assertThat(dest.get("ddd"), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 34.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            if (Files.exists(Paths.get(srcWebInfBase))) {
                return Paths.get(srcWebInfBase, names);
            }
            final String targetWebInfBase = "target/fess/" + root + base;
            if (Files.exists(Paths.get(targetWebInfBase))) {
                return Paths.get(targetWebInfBase, names);
            }
            return Paths.get(webinfBase, names);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RequestData.java

                this.method = Method.HEAD;
            } else {
                this.method = Method.GET;
            }
        }
    
        /**
         * Gets the URL for this request.
         * @return the URL
         */
        public String getUrl() {
            return url;
        }
    
        /**
         * Sets the URL for this request.
         * @param url the URL
         */
        public void setUrl(final String url) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4K bytes
    - Viewed (0)
Back to top