Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 233 for ME (0.01 sec)

  1. docs_src/path_params/tutorial003_py39.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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 236 bytes
    - Viewed (0)
  2. docs_src/dependencies/tutorial008e_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: str = Depends(get_username, scope="function")):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 289 bytes
    - Viewed (0)
  3. 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}`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. docs/es/docs/tutorial/path-params.md

    Como `/users/me`, imaginemos que es para obtener datos sobre el usuario actual.
    
    Y luego también puedes tener un path `/users/{user_id}` para obtener datos sobre un usuario específico por algún ID de usuario.
    
    Debido a que las *path operations* se evalúan en orden, necesitas asegurarte de que el path para `/users/me` se declara antes que el de `/users/{user_id}`:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/OsService.java

     * <li>os.version: The operating system version</li>
     * </ul>
     * <p>
     * Supported OS families include:
     * <ul>
     * <li>windows: All Windows variants</li>
     * <li>win9x: Windows 95, 98, ME, CE</li>
     * <li>winnt: Windows NT variants</li>
     * <li>unix: Unix-like systems (including Linux)</li>
     * <li>mac: macOS (including Darwin)</li>
     * <li>os/2: OS/2 variants</li>
     * <li>netware: Novell NetWare</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Feb 10 14:12:18 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/BasicJavadocLexerTest.groovy

            1 * visitor.onEndHtmlElement('p')
            1 * visitor.onEnd()
            0 * visitor._
        }
    
        def discardsHtmlComments() {
            when:
            lexer.pushText("<p><!-- ignore me --></p>text <!-- -->2")
            lexer.visit(visitor)
    
            then:
            1 * visitor.onStartHtmlElement('p')
            1 * visitor.onStartHtmlElementComplete('p')
            1 * visitor.onEndHtmlElement('p')
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  7. 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>.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. docs_src/authentication_error_status_code/tutorial001_an_py39.py

            return HTTPException(
                status_code=status.HTTP_403_FORBIDDEN, detail="Not authenticated"
            )
    
    
    CredentialsDep = Annotated[HTTPAuthorizationCredentials, Depends(HTTPBearer403())]
    
    
    @app.get("/me")
    def read_me(credentials: CredentialsDep):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 618 bytes
    - Viewed (0)
  9. 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) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_dependencies/test_tutorial008e.py

        mod = importlib.import_module(f"docs_src.dependencies.{request.param}")
    
        client = TestClient(mod.app)
        return client
    
    
    def test_get_users_me(client: TestClient):
        response = client.get("/users/me")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 574 bytes
    - Viewed (0)
Back to top