Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 892 Bytes

File metadata and controls

31 lines (22 loc) · 892 Bytes

TokenList

Properties

Name Type Description Notes
code int
message str [optional]
tokens List[Token]

Example

from lighter.models.token_list import TokenList

# TODO update the JSON string below
json = "{}"
# create an instance of TokenList from a JSON string
token_list_instance = TokenList.from_json(json)
# print the JSON string representation of the object
print(TokenList.to_json())

# convert the object into a dict
token_list_dict = token_list_instance.to_dict()
# create an instance of TokenList from a dict
token_list_from_dict = TokenList.from_dict(token_list_dict)

[Back to Model list] [Back to API list] [Back to README]