Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 311 - 320 of 862 for userIds (0.04 seconds)

  1. .ci/os.sh

      #
      # This ultimately needs to be fixed at the image level - see infra
      # issue 15654.
      sudo mv /etc/sysctl.d/99-gce.conf /etc/sysctl.d/98-gce.conf
    fi
    
    # Required by bats
    sudo touch /etc/is_vagrant_vm
    sudo useradd vagrant
    
    set -e
    
    . .ci/java-versions.properties
    RUNTIME_JAVA_HOME=$HOME/.java/$ES_RUNTIME_JAVA
    BUILD_JAVA_HOME=$HOME/.java/$ES_BUILD_JAVA
    
    rm -Rfv $HOME/.gradle/init.d/ && mkdir -p $HOME/.gradle/init.d
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Feb 17 17:41:23 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  2. ci/official/envs/rbe

        # A local firewall rule for the container is added in
        # ci/official/utilities/setup_docker.sh.
      fi
    else
      # The volume mapping flag below shares the user's gcloud credentials, if any,
      # with the container, in case the user has credentials stored there.
      # This would allow Bazel to authenticate for RBE.
      # Note: TF's CI does not have any credentials stored there.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Mar 28 04:33:01 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ComparisonChain.java

    import com.google.errorprone.annotations.InlineMe;
    import java.util.Comparator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A utility for performing a chained comparison statement. <b>Note:</b> Java 8+ users should
     * generally prefer the methods in {@link Comparator}; see <a href="#java8">below</a>.
     *
     * <p>Example usage of {@code ComparisonChain}:
     *
     * {@snippet :
     * public int compareTo(Foo that) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial012_py310.py

    
    app = FastAPI(dependencies=[Depends(verify_token), Depends(verify_key)])
    
    
    @app.get("/items/")
    async def read_items():
        return [{"item": "Portal Gun"}, {"item": "Plumbus"}]
    
    
    @app.get("/users/")
    async def read_users():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 696 bytes
    - Click Count (0)
  5. docs_src/security/tutorial007_py310.py

                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    def read_current_user(username: str = Depends(get_current_username)):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
  6. docs/ru/docs/tutorial/dependencies/index.md

    * Присваивании этого результата параметру в вашей *функции обработки пути*.
    
    ```mermaid
    graph TB
    
    common_parameters(["common_parameters"])
    read_items["/items/"]
    read_users["/users/"]
    
    common_parameters --> read_items
    common_parameters --> read_users
    ```
    
    Таким образом, вы пишете общий код один раз, а **FastAPI** позаботится о его вызове для ваших *операций пути*.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 15.4K bytes
    - Click Count (1)
  7. 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 Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  8. docs_src/configure_swagger_ui/tutorial001_py310.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"syntaxHighlight": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 205 bytes
    - Click Count (0)
  9. docs_src/configure_swagger_ui/tutorial003_py310.py

    from fastapi import FastAPI
    
    app = FastAPI(swagger_ui_parameters={"deepLinking": False})
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 201 bytes
    - Click Count (0)
  10. docs_src/security/tutorial007_an_py310.py

                status_code=status.HTTP_401_UNAUTHORIZED,
                detail="Incorrect username or password",
                headers={"WWW-Authenticate": "Basic"},
            )
        return credentials.username
    
    
    @app.get("/users/me")
    def read_current_user(username: Annotated[str, Depends(get_current_username)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1.1K bytes
    - Click Count (0)
Back to Top