Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 740 for Users (0.05 sec)

  1. docs/ja/docs/tutorial/metadata.md

    ### ドキュメントの確認
    
    ここで、ドキュメントを確認すると、追加したメタデータがすべて表示されます:
    
    <img src="/img/tutorial/metadata/image02.png">
    
    ### タグの順番
    
    タグのメタデータ辞書の順序は、ドキュメントUIに表示される順序の定義にもなります。
    
    たとえば、`users` はアルファベット順では `items` の後に続きます。しかし、リストの最初に `users` のメタデータ辞書を追加したため、ドキュメントUIでは `users` が先に表示されます。
    
    ## OpenAPI URL
    
    デフォルトでは、OpenAPIスキーマは `/openapi.json` で提供されます。
    
    ただし、パラメータ `openapi_url` を使用して設定を変更できます。
    
    たとえば、`/api/v1/openapi.json` で提供されるように設定するには:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. docs_src/dependency_testing/tutorial001_py310.py

    
    @app.get("/items/")
    async def read_items(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: dict = Depends(common_parameters)):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: str | None = None):
        return {"q": q, "skip": 5, "limit": 10}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. docs_src/security/tutorial004_an.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.2K bytes
    - Viewed (0)
  4. helm/minio/templates/_helper_create_user.txt

      fi
    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.users }}
    {{ $global := . }}
    # Create the users
    {{- range .Values.users }}
    echo {{ tpl .accessKey $global }} > $MINIO_ACCESSKEY_SECRETKEY_TMP
    {{- if .existingSecret }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 12 23:43:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. cmd/iam-store.go

    					return true
    				}
    			}
    			if pset.Contains(policy) {
    				users = append(users, u)
    			}
    			return true
    		})
    		cache.iamGroupPolicyMap.Range(func(g string, mp MappedPolicy) bool {
    			pset := mp.policySet()
    			if pset.Contains(policy) {
    				groups = append(groups, g)
    			}
    			return true
    		})
    		if len(users) != 0 || len(groups) != 0 {
    			return errPolicyInUse
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/certificates/v1alpha1/generated.proto

    // user in the cluster, because they can be mounted by pods using the
    // `clusterTrustBundle` projection.  All service accounts have read access to
    // ClusterTrustBundles by default.  Users who only have namespace-level access
    // to a cluster can read ClusterTrustBundles by impersonating a serviceaccount
    // that they have access to.
    //
    // It can be optionally associated with a particular assigner, in which case it
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. regression-test/README.md

    ```
    $ ANDROID_SDK_ROOT=/Users/myusername/Library/Android/sdk ./gradlew :regression-test:connectedCheck
    ...
    > Task :regression-test:connectedDebugAndroidTest
    ...
    11:55:40 V/InstrumentationResultParser: Time: 13.271
    11:55:40 V/InstrumentationResultParser:
    11:55:40 V/InstrumentationResultParser: OK (12 tests)
    ...
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Nov 13 07:09:56 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  8. docs_src/dependency_testing/tutorial001_an.py

    @app.get("/items/")
    async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
        return {"message": "Hello Users!", "params": commons}
    
    
    client = TestClient(app)
    
    
    async def override_dependency(q: Union[str, None] = None):
        return {"q": q, "skip": 5, "limit": 10}
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/path-params.md

    下一章介绍详细内容。
    
    ## 顺序很重要
    
    有时,*路径操作*中的路径是写死的。
    
    比如要使用 `/users/me` 获取当前用户的数据。
    
    然后还要使用 `/users/{user_id}`,通过用户 ID 获取指定用户的数据。
    
    由于*路径操作*是按顺序依次运行的,因此,一定要在 `/users/{user_id}` 之前声明 `/users/me` :
    
    ```Python hl_lines="6  11"
    {!../../docs_src/path_params/tutorial003.py!}
    ```
    
    否则,`/users/{user_id}` 将匹配 `/users/me`,FastAPI 会**认为**正在接收值为 `"me"` 的 `user_id` 参数。
    
    ## 预设值
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/security/oauth2-scopes.md

    If you don't select any scope, you will be "authenticated", but when you try to access `/users/me/` or `/users/me/items/` you will get an error saying that you don't have enough permissions. You will still be able to access `/status/`.
    
    And if you select the scope `me` but not the scope `items`, you will be able to access `/users/me/` but not `/users/me/items/`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 29 11:02:16 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top