Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 228 for ME (0.01 sec)

  1. docs_src/security/tutorial004_an_py310.py

        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
        return current_user
    
    
    @app.get("/users/me/items/")
    async def read_own_items(
        current_user: Annotated[User, Depends(get_current_active_user)],
    ):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

    package gradlebuild.binarycompatibility;
    
    import japicmp.filter.Filter;
    import me.champeau.gradle.japicmp.JApiCmpWorkAction;
    import me.champeau.gradle.japicmp.JApiCmpWorkerAction;
    import me.champeau.gradle.japicmp.JapiCmpWorkerConfiguration;
    import me.champeau.gradle.japicmp.filters.FilterConfiguration;
    import me.champeau.gradle.japicmp.report.RichReport;
    import me.champeau.gradle.japicmp.report.RuleConfiguration;
    import org.gradle.api.Action;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/path-params.md

    *경로 작동*을 만들때 고정 경로를 갖고 있는 상황들을 맞닥뜨릴 수 있습니다.
    
    `/users/me`처럼, 현재 사용자의 데이터를 가져온다고 합시다.
    
    사용자 ID를 이용해 특정 사용자의 정보를 가져오는 경로 `/users/{user_id}`도 있습니다.
    
    *경로 작동*은 순차적으로 실행되기 때문에 `/users/{user_id}` 이전에 `/users/me`를 먼저 선언해야 합니다:
    
    ```Python hl_lines="6  11"
    {!../../docs_src/path_params/tutorial003.py!}
    ```
    
    그렇지 않으면 `/users/{user_id}`는 `/users/me` 요청 또한 매개변수 `user_id`의 값이 `"me"`인 것으로 "생각하게" 됩니다.
    
    ## 사전정의 값
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. docs/pt/docs/help-fastapi.md

    * <a href="https://github.com/tiangolo" class="external-link" target="_blank">Me siga no **GitHub**</a>.
        * Ver também outros projetos Open Source criados por mim que podem te ajudar.
        * Me seguir para saber quando um novo projeto Open Source for criado.
    * <a href="https://twitter.com/tiangolo" class="external-link" target="_blank">Me siga no **Twitter**</a>.
        * Me dizer o motivo pelo o qual você está usando o FastAPI(Adoro ouvir esse tipo de comentário).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. docs_src/path_params/tutorial003.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/users/me")
    async def read_user_me():
        return {"user_id": "the current user"}
    
    
    @app.get("/users/{user_id}")
    async def read_user(user_id: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Mar 26 19:09:53 UTC 2020
    - 236 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_cookie_param_models/test_tutorial002.py

                    ]
                }
            )
        )
    
    
    def test_cookie_param_model_extra(client: TestClient):
        with client as c:
            c.cookies.set("session_id", "123")
            c.cookies.set("extra", "track-me-here-too")
            response = c.get("/items/")
        assert response.status_code == 422
        assert response.json() == snapshot(
            IsDict(
                {
                    "detail": [
                        {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. docs/tr/docs/tutorial/path-params.md

    Farz edelim ki `/users/me` yolu geçerli kullanıcı hakkında bilgi almak için kullanılıyor olsun.
    
    Benzer şekilde `/users/{user_id}` gibi tanımlanmış ve belirli bir kullanıcı hakkında veri almak için kullanıcının ID bilgisini kullanan bir yolunuz da mevcut olabilir.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  8. docs_src/bigger_applications/app_an_py39/routers/users.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.get("/users/", tags=["users"])
    async def read_users():
        return [{"username": "Rick"}, {"username": "Morty"}]
    
    
    @router.get("/users/me", tags=["users"])
    async def read_user_me():
        return {"username": "fakecurrentuser"}
    
    
    @router.get("/users/{username}", tags=["users"])
    async def read_user(username: str):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 407 bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationMissingRuleCurrentGradleVersionSetup.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules;
    
    import me.champeau.gradle.japicmp.report.SetupRule;
    import me.champeau.gradle.japicmp.report.ViolationCheckContext;
    
    import java.util.Map;
    
    public class SinceAnnotationMissingRuleCurrentGradleVersionSetup implements SetupRule {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-params.md

    When creating *path operations*, you can find situations where you have a fixed path.
    
    Like `/users/me`, let's say that it's to get data about the current user.
    
    And then you can also have a path `/users/{user_id}` to get data about a specific user by some user ID.
    
    Because *path operations* are evaluated in order, you need to make sure that the path for `/users/me` is declared before the one for `/users/{user_id}`:
    
    ```Python hl_lines="6  11"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top