Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for list_type (0.05 seconds)

  1. tests/test_tutorial/test_custom_request_and_route/test_tutorial002.py

        response = client.post("/", json={"numbers": [1, 2, 3]})
        assert response.json() == {
            "detail": {
                "errors": [
                    {
                        "type": "list_type",
                        "loc": ["body"],
                        "msg": "Input should be a valid list",
                        "input": {"numbers": [1, 2, 3]},
                    }
                ],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_nested_models/test_tutorial006.py

                        "url": "http://example.com/image.png",
                        "name": "example image",
                    },
                    "msg": "Input should be a valid list",
                    "type": "list_type",
                },
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_body_nested_models/test_tutorial008.py

                    "input": {
                        "name": "Example",
                        "url": "http://example.com/",
                    },
                    "msg": "Input should be a valid list",
                    "type": "list_type",
                }
            ]
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  4. cmd/admin-handlers-idp-ldap.go

    		return
    	}
    	targetAccount := dnResult.NormDN
    
    	listType := r.Form.Get("listType")
    	if listType != "sts-only" && listType != "svcacc-only" && listType != "" {
    		// default to both
    		listType = ""
    	}
    
    	var serviceAccounts []auth.Credentials
    	var stsKeys []auth.Credentials
    
    	if listType == "" || listType == "sts-only" {
    		stsKeys, err = globalIAMSys.ListSTSAccounts(ctx, targetAccount)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 08 02:46:04 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  5. tests/test_typing_python39.py

            set[int]: [1, 2, 3],  # `set` is converted to `list`
            tuple[int, ...]: [1, 2, 3],  # `tuple` is converted to `list`
        }
        for test_type, expect in types.items():
            app = FastAPI()
    
            @app.post("/", response_model=test_type)
            def post_endpoint(input: test_type):
                return input
    
            res = TestClient(app).post("/", json=expect)
            assert res.status_code == 200, res.json()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 709 bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertTrue(info.equals(info));
        }
    
        @Test
        @DisplayName("Test equals method with different object type")
        void testEqualsWithDifferentObjectType() {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertFalse(info.equals("Not a SmbShareInfo"));
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  7. cmd/admin-handlers-idp-openid.go

    		selfDN := cred.AccessKey
    		if cred.ParentUser != "" {
    			selfDN = cred.ParentUser
    		}
    		userList = append(userList, selfDN)
    	}
    
    	listType := r.Form.Get("listType")
    	var listSTSKeys, listServiceAccounts bool
    	switch listType {
    	case madmin.AccessKeyListUsersOnly:
    		listSTSKeys = false
    		listServiceAccounts = false
    	case madmin.AccessKeyListSTSOnly:
    		listSTSKeys = true
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sat Sep 06 17:38:46 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

         */
        public void testList() throws Exception {
            final Method m1 = ListType.class.getMethod("listOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, List.class), is(true));
            assertThat(GenericsUtil.getElementTypeOfList(t1), is(sameClass(String.class)));
    
            final Method m2 = ListType.class.getMethod("listOfClass");
            final Type t2 = m2.getGenericReturnType();
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. cmd/admin-router.go

    			HandlerFunc(adminMiddleware(adminAPI.ListAccessKeysLDAP)).Queries("userDN", "{userDN:.*}", "listType", "{listType:.*}")
    		adminRouter.Methods(http.MethodGet).Path(adminVersion+"/idp/ldap/list-access-keys-bulk").
    			HandlerFunc(adminMiddleware(adminAPI.ListAccessKeysLDAPBulk)).Queries("listType", "{listType:.*}")
    
    		// LDAP IAM operations
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/util/MimeMap.java

                        break;
                    }
                    if (ch == '#') {
                        state = ST_COMM;
                        break;
                    }
                    state = ST_TYPE;
                case ST_TYPE:
                    if (ch == ' ' || ch == '\t') {
                        state = ST_GAP;
                    } else {
                        type[t++] = ch;
                    }
                    break;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top