Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 552 for cmsg (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_security_oauth2_password_bearer_optional.py

    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        if token is None:
            return {"msg": "Create an account first"}
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
        assert response.status_code == 200, response.text
        assert response.json() == {"msg": "Create an account first"}
    
    
    def test_token():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  2. cmd/storage-rest-common.go

    	storageRESTRange            = "rng"
    )
    
    type nsScannerOptions struct {
    	DiskID   string          `msg:"id"`
    	ScanMode int             `msg:"m"`
    	Cache    *dataUsageCache `msg:"c"`
    }
    
    type nsScannerResp struct {
    	Update *dataUsageEntry `msg:"u"`
    	Final  *dataUsageCache `msg:"f"`
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Aug 12 08:38:15 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_query_param_models/test_tutorial002.py

                        "loc": ["query", "limit"],
                        "msg": "Input should be less than or equal to 100",
                        "input": "150",
                        "ctx": {"le": 100},
                    },
                    {
                        "type": "greater_than_equal",
                        "loc": ["query", "offset"],
                        "msg": "Input should be greater than or equal to 0",
                        "input": "-1",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb/SmbException.java

         *
         * @param msg the detail message
         */
        public SmbException(final String msg) {
            super(msg);
            this.status = NT_STATUS_UNSUCCESSFUL;
        }
    
        /**
         * Constructs an SmbException with the specified detail message and root cause
         *
         * @param msg the detail message
         * @param rootCause the underlying cause of this exception
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_path_params/test_tutorial002.py

        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "input": "item1",
                    "loc": ["path", "item_id"],
                    "msg": "Input should be a valid integer, unable to parse string as an integer",
                    "type": "int_parsing",
                }
            ]
        }
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. tests/test_request_params/test_query/test_required_str.py

        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["query", "p"],
                    "msg": "Field required",
                    "input": IsOneOf(None, {}),
                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial012.py

                {
                    "type": "missing",
                    "loc": ["header", "x-token"],
                    "msg": "Field required",
                    "input": None,
                },
                {
                    "type": "missing",
                    "loc": ["header", "x-key"],
                    "msg": "Field required",
                    "input": None,
                },
            ]
        }
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/smb/SmbUnsupportedOperationException.java

        }
    
        /**
         * Constructs a new SmbUnsupportedOperationException with the specified message
         * @param msg the detail message
         */
        public SmbUnsupportedOperationException(final String msg) {
            super(msg);
        }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_handling_errors/test_tutorial006.py

        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "type": "int_parsing",
                    "loc": ["path", "item_id"],
                    "msg": "Input should be a valid integer, unable to parse string as an integer",
                    "input": "foo",
                }
            ]
        }
    
    
    def test_get_http_error():
        response = client.get("/items/3")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/http/NtlmServlet.java

            Address dc;
            final boolean offerBasic = this.enableBasic && (this.insecureBasic || request.isSecure());
            final String msg = request.getHeader("Authorization");
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (this.loadBalance) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.1K bytes
    - Click Count (1)
Back to Top