Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 603 for fulu (0.15 sec)

  1. docs_src/security/tutorial002.py

    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    async def get_current_user(token: str = Depends(oauth2_scheme)):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat May 14 11:59:59 GMT 2022
    - 755 bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/extra-models.md

        email="******@****.***",
        full_name=None,
    )
    ```
    
    Или, если для большей точности мы напрямую используем `user_dict` с любым потенциальным содержимым, то этот пример будет выглядеть так:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs_src/security/tutorial002_an_py39.py

    
    class User(BaseModel):
        username: str
        email: Union[str, None] = None
        full_name: Union[str, None] = None
        disabled: Union[bool, None] = None
    
    
    def fake_decode_token(token):
        return User(
            username=token + "fakedecoded", email="******@****.***", full_name="John Doe"
        )
    
    
    async def get_current_user(token: Annotated[str, Depends(oauth2_scheme)]):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 786 bytes
    - Viewed (0)
  4. .github/workflows/ci.yml

          - name: 'Set up JDK ${{ matrix.java }}'
            uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 # v4.2.1
    
            with:
              java-version: ${{ matrix.java }}
              distribution: 'zulu'
              cache: 'maven'
          - name: 'Install'
            shell: bash
            run: ./mvnw -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn install -U -DskipTests=true -f $ROOT_POM
    Others
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:33:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  5. cni/pkg/install/kubeconfig.go

    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/cni/pkg/config"
    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/file"
    )
    
    type kubeconfig struct {
    	// The full kubeconfig
    	Full string
    	// Kubeconfig with confidential data redacted.
    	Redacted string
    }
    
    func createKubeConfig(cfg *config.InstallConfig) (kubeconfig, error) {
    	if len(cfg.K8sServiceHost) == 0 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  6. .teamcity/src/main/kotlin/common/JvmVendor.kt

     * limitations under the License.
     */
    
    package common
    
    enum class JvmVendor(val displayName: String) {
        oracle("Oracle"),
        openjdk("Adoptium"),
        zulu("Zulu")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jul 24 18:12:47 GMT 2023
    - 747 bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/extra-models.md

        password="secret",
        email="******@****.***",
        full_name=None,
    )
    ```
    
    Or more exactly, using `user_dict` directly, with whatever contents it might have in the future:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
    )
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  8. ci/official/upload.sh

      gcloud auth activate-service-account --key-file="$TFCI_ARTIFACT_FINAL_GCS_SA_PATH"
    
      # $TF_VER_FULL will resolve to e.g. "2.15.0-rc2". Since $TF_VER_FULL comes
      # from get_versions.sh, which must be run *after* update_version.py, FINAL_URI
      # can't be set inside the rest of the _upload envs.
      FINAL_URI="$TFCI_ARTIFACT_FINAL_GCS_URI/$TF_VER_FULL"
      gsutil -m rsync -d -r "$DOWNLOADS" "$FINAL_URI"
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 24 20:52:12 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig.go

    		Example: `  # Retrieve summary about all configuration for a given pod from Envoy.
      istioctl proxy-config all <pod-name[.namespace]>
    
      # Retrieve full cluster dump as JSON
      istioctl proxy-config all <pod-name[.namespace]> -o json
    
      # Retrieve full cluster dump with short syntax
      istioctl pc a <pod-name[.namespace]>
    
      # Retrieve cluster summary without using Kubernetes API
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/separate-openapi-schemas.md

        <details>
        <summary>👀 Full file preview</summary>
    
        ```Python
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py310.py!}
        ```
    
        </details>
    
    === "Python 3.9+"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/separate_openapi_schemas/tutorial001_py39.py[ln:1-17]!}
    
        # Code below omitted 👇
        ```
    
        <details>
        <summary>👀 Full file preview</summary>
    
        ```Python
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 6.7K bytes
    - Viewed (0)
Back to top