Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 1,417 for itemId (0.21 sec)

  1. common-protos/k8s.io/api/rbac/v1beta1/generated.proto

    message ClusterRoleBindingList {
      // Standard object's metadata.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
    
      // Items is a list of ClusterRoleBindings
      repeated ClusterRoleBinding items = 2;
    }
    
    // ClusterRoleList is a collection of ClusterRoles.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 ClusterRoles, and will no longer be served in v1.22.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. docs/zh/docs/tutorial/path-params-numeric-validations.md

    尽可能选择使用 `Annotated` 的版本。
    
    ///
    
    ```Python hl_lines="3"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001.py!}
    ```
    
    ////
    
    ## 声明元数据
    
    你可以声明与 `Query` 相同的所有参数。
    
    例如,要声明路径参数 `item_id`的 `title` 元数据值,你可以输入:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="10"
    {!> ../../docs_src/path_params_numeric_validations/tutorial001_an_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LayeredOptions.java

            int had = 0;
            ArrayList<String> items = new ArrayList<>();
            for (O option : options) {
                Optional<List<String>> o = getter.apply(option);
                if (o.isPresent()) {
                    had++;
                    items.addAll(o.get());
                }
            }
            return had == 0 ? Optional.empty() : Optional.of(List.copyOf(items));
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

        private
        fun BaseGradleBuildType.getGradleTasks(): String {
            val runnerStep = this.steps.items.find { it.name == "GRADLE_RUNNER" } as GradleBuildStep
            return runnerStep.tasks!!
        }
    
        private
        fun BaseGradleBuildType.getGradleParams(): String {
            val runnerStep = this.steps.items.find { it.name == "GRADLE_RUNNER" } as GradleBuildStep
            return runnerStep.gradleParams!!
        }
    
        @Test
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 18 07:02:47 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_custom_response/test_tutorial004.py

            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"text/html": {"schema": {"type": "string"}}},
                            }
                        },
                        "summary": "Read Items",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. docs/zh/docs/deployment/docker.md

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    ### Dockerfile
    
    现在在相同的project目录创建一个名为`Dockerfile`的文件:
    
    ```{ .dockerfile .annotate }
    # (1)
    FROM python:3.9
    
    # (2)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_an.py

    
    def test_read_items():
        access_token = get_access_token(scope="me items")
        response = client.get(
            "/users/me/items/", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == [{"item_id": "Foo", "owner": "johndoe"}]
    
    
    def test_read_system_status():
        access_token = get_access_token()
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

      TF_ShapeAndType& shape_and_type = shape_list->items[index];
      shape_and_type.dtype = dtype;
    }
    
    void TF_DeleteShapeAndTypeList(TF_ShapeAndTypeList* shape_list) {
      if (shape_list == nullptr) return;
      for (size_t i = 0; i < shape_list->num_items; ++i) {
        delete[] shape_list->items[i].dims;
      }
      delete[] shape_list->items;
      delete shape_list;
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_request_files/test_tutorial002.py

                        "properties": {
                            "files": {
                                "title": "Files",
                                "type": "array",
                                "items": {"type": "string", "format": "binary"},
                            }
                        },
                    },
                    "Body_create_files_files__post": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body_nested_models/test_tutorial009.py

                        "properties": {
                            "loc": {
                                "title": "Location",
                                "type": "array",
                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top