Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 1,638 for item2 (0.03 sec)

  1. 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)
  2. 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)
  3. .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)
  4. fess-crawler/src/test/resources/sitemaps/sitemap1.xml.gz

    sitemap1.xml http://www.example.com/ 2005-01-01 monthly 0.8 http://www.example.com/catalog?item=12&desc=vacation_hawaii weekly http://www.example.com/catalog?item=73&desc=vacation_new_zealand 2004-12-23 weekly http://www.example.com/catalog?item=74&desc=vacation_newfoundland 2004-12-23T18:00:15+00:00 0.3 http://www.example.com/catalog?item=83&desc=vacation_usa 2004-11-23...
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 332 bytes
    - Viewed (0)
  5. istioctl/pkg/completion/completion.go

    	podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	var podsName []string
    	for _, pod := range podList.Items {
    		if toComplete == "" || strings.HasPrefix(pod.Name, toComplete) {
    			podsName = append(podsName, pod.Name)
    		}
    	}
    
    	return podsName, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. 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)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                        for (FileItem item : multiparts) {
                            if (!item.isFormField()) {
                                // item is not form field.
                            } else {
                                String name = item.getFieldName();
                                String value = item.getString();
                                response.getWriter().write(name + "," + value);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java

                final LabelTypeItem item = new LabelTypeItem();
                item.setLabel(labelType.getName());
                item.setValue(labelType.getValue());
                item.setPermissions(labelType.getPermissions());
                item.setVirtualHost(labelType.getVirtualHost());
                item.setLocale(labelType.getLocale());
                itemList.add(item);
            }
            labelTypeItemList = itemList;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. 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)
  10. tests/test_tutorial/test_additional_status_codes/test_tutorial001_py310.py

    
    @needs_py310
    def test_update(client: TestClient):
        response = client.put("/items/foo", json={"name": "Wrestlers"})
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Wrestlers", "size": None}
    
    
    @needs_py310
    def test_create(client: TestClient):
        response = client.put("/items/red", json={"name": "Chillies"})
        assert response.status_code == 201, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 738 bytes
    - Viewed (0)
Back to top