Record
A data record.
Usage
Record()Parameters
name: str-
The record name.
value: int = 0-
The record value.
Methods
| Name | Description |
|---|---|
| to_dict() | Convert the record to a dictionary. |
to_dict()
Convert the record to a dictionary.
Usage
to_dict()Returns
dict-
Dictionary with name and value keys.