Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,333 for item01 (0.6 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial003_02.py

                        "properties": {
                            "detail": {
                                "title": "Detail",
                                "type": "array",
                                "items": {"$ref": "#/components/schemas/ValidationError"},
                            }
                        },
                    },
                    "ValidationError": {
                        "title": "ValidationError",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. docs_src/query_params_str_validations/tutorial008_an_py39.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        q: Annotated[
            Union[str, None],
            Query(
                title="Query string",
                description="Query string for the items to search in the database that have a good match",
                min_length=3,
            ),
        ] = None,
    ):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 511 bytes
    - Viewed (0)
  3. docs/ja/docs/tutorial/dependencies/index.md

    例えば、4つのAPIエンドポイント(*path operations*)があるとします:
    
    * `/items/public/`
    * `/items/private/`
    * `/users/{user_id}/activate`
    * `/items/pro/`
    
    そして、依存関係とサブ依存関係だけで、それぞれに異なるパーミッション要件を追加することができます:
    
    ```mermaid
    graph TB
    
    current_user(["current_user"])
    active_user(["active_user"])
    admin_user(["admin_user"])
    paying_user(["paying_user"])
    
    public["/items/public/"]
    private["/items/private/"]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py

            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                        "summary": "Read Items",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. 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)
  6. tests/test_tutorial/test_security/test_tutorial005_an_py310.py

        assert response.json() == {"detail": "Inactive user"}
    
    
    @needs_py310
    def test_read_items(client: TestClient):
        access_token = get_access_token(scope="me items", client=client)
        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"}]
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. 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)
  8. .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)
  9. 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)
  10. 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)
Back to top