Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 4,517 for getY (0.09 seconds)

  1. 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_py310.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 }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:41:41 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/security/get-current-user.md

    # 取得目前使用者 { #get-current-user }
    
    在前一章,基於依賴注入系統的安全機制會把一個 `token`(作為 `str`)提供給*路徑操作函式*:
    
    {* ../../docs_src/security/tutorial001_an_py310.py hl[12] *}
    
    但這還不太有用。
    
    讓它改為回傳目前使用者吧。
    
    ## 建立使用者模型 { #create-a-user-model }
    
    先建立一個 Pydantic 的使用者模型。
    
    就像用 Pydantic 宣告請求體一樣,我們也可以在其他地方使用它:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[5,12:6] *}
    
    ## 建立 `get_current_user` 依賴 { #create-a-get-current-user-dependency }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 3.7K bytes
    - Click Count (0)
  3. docs/ko/docs/tutorial/security/get-current-user.md

    의존성 `get_current_user`를 만들어 봅시다.
    
    의존성이 하위 의존성을 가질 수 있다는 것을 기억하시나요?
    
    `get_current_user`는 이전에 생성한 것과 동일한 `oauth2_scheme`에 대한 의존성을 갖게 됩니다.
    
    이전에 *경로 처리*에서 직접 수행했던 것과 동일하게, 새 의존성 `get_current_user`는 하위 의존성 `oauth2_scheme`로부터 `str`로 `token`을 받게 됩니다:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## 사용자 가져오기 { #get-the-user }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:57:01 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/security/get-current-user.md

    ## 依存関係 `get_current_user` を作成 { #create-a-get-current-user-dependency }
    
    依存関係 `get_current_user` を作ってみましょう。
    
    依存関係はサブ依存関係を持つことができるのを覚えていますか?
    
    `get_current_user` は前に作成した `oauth2_scheme` と同じ依存関係を持ちます。
    
    以前直接 *path operation* の中でしていたのと同じように、新しい依存関係である `get_current_user` はサブ依存関係である `oauth2_scheme` から `str` として `token` を受け取るようになります:
    
    {* ../../docs_src/security/tutorial002_an_py310.py hl[25] *}
    
    ## ユーザーの取得 { #get-the-user }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 15:24:30 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  5. 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(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2K bytes
    - Click Count (1)
  6. docs/features/calls.md

    # Calls
    
    The HTTP client’s job is to accept your request and produce its response. This is simple in theory but it gets tricky in practice.
    
    ## [Requests](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-request/)
    
    Each HTTP request contains a URL, a method (like `GET` or `POST`), and a list of headers. Requests may also contain a body: a data stream of a specific content type.
    
    ## [Responses](https://square.github.io/okhttp/5.x/okhttp/okhttp3/-response/)
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  7. 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
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  8. 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);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

            }
    
            /**
             * Gets the name of this cached file or directory
             * @return the file name
             */
            public String getName() {
                return name;
            }
    
            /**
             * Gets the size of this cached file in bytes
             * @return the file size
             */
            public long getSize() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/suggest/util/MapValueExtractor.java

        }
    
        /**
         * Gets a String value from the map.
         *
         * @param map The source map
         * @param key The key to look up
         * @return The string value, or null if the key doesn't exist or value is null
         */
        public static String getString(final Map<String, Object> map, final String key) {
            return getString(map, key, null);
        }
    
        /**
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 9.8K bytes
    - Click Count (0)
Back to Top