Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 710 for users2 (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. scripts/contributors.py

    ) -> dict[str, Any]:
        users: dict[str, Any] = {}
        for user, count in counter.most_common():
            if count >= min_count:
                author = authors[user]
                users[user] = {
                    "login": user,
                    "count": count,
                    "avatarUrl": author.avatarUrl,
                    "url": author.url,
                }
        return users
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Dec 16 12:34:01 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/path-params.md

    Como `/users/me`, digamos que seja para obter dados sobre o usuário atual.
    
    E então você também pode ter um path `/users/{user_id}` para obter dados sobre um usuário específico por algum ID de usuário.
    
    Como as *operações de rota* são avaliadas em ordem, você precisa garantir que o path para `/users/me` seja declarado antes do de `/users/{user_id}`:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/path-params.md

    接下来的章节会介绍其中的好几种。
    
    ## 顺序很重要 { #order-matters }
    
    有时,*路径操作*中的路径是写死的。
    
    比如要使用 `/users/me` 获取当前用户的数据。
    
    然后还要使用 `/users/{user_id}`,通过用户 ID 获取指定用户的数据。
    
    由于*路径操作*是按顺序依次运行的,因此,一定要在 `/users/{user_id}` 之前声明 `/users/me` :
    
    {* ../../docs_src/path_params/tutorial003_py310.py hl[6,11] *}
    
    否则,`/users/{user_id}` 将匹配 `/users/me`,FastAPI 会**认为**正在接收值为 `"me"` 的 `user_id` 参数。
    
    同样,你不能重复定义一个路径操作:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/path-params.md

    這些之中的好幾個會在接下來的教學章節中介紹。
    
    ## 順序很重要 { #order-matters }
    
    在建立「路徑操作」時,你可能會遇到有固定路徑的情況。
    
    像是 `/users/me`,假設它用來取得目前使用者的資料。
    
    然後你也可能有一個路徑 `/users/{user_id}` 用來依使用者 ID 取得特定使用者的資料。
    
    因為「路徑操作」會依宣告順序來比對,你必須確保 `/users/me` 的路徑在 `/users/{user_id}` 之前宣告:
    
    {* ../../docs_src/path_params/tutorial003_py310.py hl[6,11] *}
    
    否則,`/users/{user_id}` 的路徑也會匹配 `/users/me`,並「認為」它收到一個值為 `"me"` 的 `user_id` 參數。
    
    同樣地,你不能重新定義同一路徑操作:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  5. docs_src/path_operation_configuration/tutorial006_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/", tags=["items"])
    async def read_items():
        return [{"name": "Foo", "price": 42}]
    
    
    @app.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "johndoe"}]
    
    
    @app.get("/elements/", tags=["items"], deprecated=True)
    async def read_elements():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 365 bytes
    - Click Count (0)
  6. futures/listenablefuture1/pom.xml

        without any of its other classes -- but is also available in a second
        "version" that omits the class to avoid conflicts with the copy in Guava
        itself. The idea is:
    
        - If users want only ListenableFuture, they depend on listenablefuture-1.0.
    
        - If users want all of Guava, they depend on guava, which, as of Guava
        27.0, depends on
        listenablefuture-9999.0-empty-to-avoid-conflict-with-guava. The 9999.0-...
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 19:27:26 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. tests/test_router_prefix_with_template.py

    app = FastAPI()
    
    router = APIRouter()
    
    
    @router.get("/users/{id}")
    def read_user(segment: str, id: str):
        return {"segment": segment, "id": id}
    
    
    app.include_router(router, prefix="/{segment}")
    
    
    client = TestClient(app)
    
    
    def test_get():
        response = client.get("/seg/users/foo")
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 08 04:37:38 GMT 2020
    - 484 bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/Iterables.java

     * {@code Iterable}. Except as noted, each method has a corresponding {@link Iterator}-based method
     * in the {@link Iterators} class.
     *
     * <p><b>Java 8+ users:</b> several common uses for this class are now more comprehensively
     * addressed by the new {@link java.util.stream.Stream} library. Read the method documentation below
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  9. docs_src/dependency_testing/tutorial001_py310.py

    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: str | None = None):
        return {"q": q, "skip": 5, "limit": 10}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            assertFalse(exception1.getMessage().equals(exception2.getMessage()));
            assertEquals("User is not found: user1", exception1.getMessage());
            assertEquals("User is not found: user2", exception2.getMessage());
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (0)
Back to Top