|
Download sdks/python/docs/JsonRpcRequest.md from cryptorugmunch/rugmuncher-backend: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/cryptorugmunch/rugmuncher-backend/resolve/main/sdks/python/docs/JsonRpcRequest.md
- Command line
-
hf download hf://cryptorugmunch/rugmuncher-backend/sdks/python/docs/JsonRpcRequest.md
-
curl -L -o JsonRpcRequest.md https://huggingface.co/cryptorugmunch/rugmuncher-backend/resolve/main/sdks/python/docs/JsonRpcRequest.md
1.03 kB
JsonRpcRequest
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| jsonrpc | str | [optional] [default to '2.0'] | |
| method | str | ||
| params | Dict[str, object] | [optional] | |
| id | Id | [optional] |
Example
from rugmunch.models.json_rpc_request import JsonRpcRequest
# TODO update the JSON string below
json = "{}"
# create an instance of JsonRpcRequest from a JSON string
json_rpc_request_instance = JsonRpcRequest.from_json(json)
# print the JSON string representation of the object
print(JsonRpcRequest.to_json())
# convert the object into a dict
json_rpc_request_dict = json_rpc_request_instance.to_dict()
# create an instance of JsonRpcRequest from a dict
json_rpc_request_from_dict = JsonRpcRequest.from_dict(json_rpc_request_dict)