Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 192 for me (0.03 seconds)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

    import japicmp.model.JApiClass;
    import japicmp.model.JApiCompatibility;
    import japicmp.model.JApiField;
    import japicmp.model.JApiHasAnnotations;
    import japicmp.model.JApiMethod;
    import me.champeau.gradle.japicmp.report.Violation;
    
    import java.util.Map;
    
    public class NewIncubatingAPIRule extends AbstractGradleViolationRule {
    
        public NewIncubatingAPIRule(Map<String, Object> params) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 1.6K bytes
    - Click Count (0)
  2. docs_src/dependencies/tutorial008e_an_py39.py

    from fastapi import Depends, FastAPI
    
    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: Annotated[str, Depends(get_username, scope="function")]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 03 10:12:49 GMT 2025
    - 329 bytes
    - Click Count (0)
  3. docs/en/docs/management-tasks.md

    Try to be as specific and objective as possible, avoid generalizations.
    
    For conversations that are more difficult, for example to reject a PR, you can ask me (@tiangolo) to handle it directly.
    
    ## Edit PR Titles
    
    * Edit the PR title to start with an emoji from <a href="https://gitmoji.dev/" class="external-link" target="_blank">gitmoji</a>.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  4. docs_src/security/tutorial004_an_py39.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)],
    ):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_bigger_applications/test_main.py

            ]
        }
    
    
    def test_users_me_token_jessica(client: TestClient):
        response = client.get("/users/me?token=jessica")
        assert response.status_code == 200
        assert response.json() == {"username": "fakecurrentuser"}
    
    
    def test_users_me_with_no_token(client: TestClient):
        response = client.get("/users/me")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    press.ma
    
    // mc : http://www.nic.mc/
    mc
    tm.mc
    asso.mc
    
    // md : https://www.iana.org/domains/root/db/md.html
    md
    
    // me : https://www.iana.org/domains/root/db/me.html
    me
    co.me
    net.me
    org.me
    edu.me
    ac.me
    gov.me
    its.me
    priv.me
    
    // mg : https://nic.mg
    mg
    co.mg
    com.mg
    edu.mg
    gov.mg
    mil.mg
    nom.mg
    org.mg
    prd.mg
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 309.7K bytes
    - Click Count (1)
  7. docs_src/security/tutorial003_py310.py

        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    @app.get("/users/me")
    async def read_users_me(current_user: User = Depends(get_current_active_user)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 24 19:03:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  8. fastapi/security/http.py

        from fastapi import Depends, FastAPI
        from fastapi.security import HTTPBasic, HTTPBasicCredentials
    
        app = FastAPI()
    
        security = HTTPBasic()
    
    
        @app.get("/users/me")
        def read_current_user(credentials: Annotated[HTTPBasicCredentials, Depends(security)]):
            return {"username": credentials.username, "password": credentials.password}
        ```
        """
    
        def __init__(
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  9. docs/es/docs/help-fastapi.md

    * <a href="https://x.com/tiangolo" class="external-link" target="_blank">Seguirme en **X (Twitter)**</a> o <a href="https://fosstodon.org/@tiangolo" class="external-link" target="_blank">Mastodon</a>.
        * Contarme cómo usas FastAPI (me encanta oír eso).
        * Enterarte cuando hago anuncios o lanzo nuevas herramientas.
        * También puedes <a href="https://x.com/fastapi" class="external-link" target="_blank">seguir @fastapi en X (Twitter)</a> (una cuenta aparte).
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:15:01 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  10. docs_src/security/tutorial002_py310.py

        )
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
        user = fake_decode_token(token)
        return user
    
    
    @app.get("/users/me")
    async def read_users_me(current_user: User = Depends(get_current_user)):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 711 bytes
    - Click Count (0)
Back to Top