BufferLine.id should be a string
This commit is contained in:
parent
b4e3ee5d0e
commit
9efe952a9f
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ class BufferLine(object):
|
|||
notes: typing.Dict[str, str] = dataclasses.field(
|
||||
default_factory=dict)
|
||||
|
||||
id: str = dataclasses.field(default_factory=uuid.uuid4)
|
||||
id: str = dataclasses.field(
|
||||
default_factory=lambda: str(uuid.uuid4()))
|
||||
timestamp: datetime.datetime = dataclasses.field(
|
||||
default_factory=utils.datetime.utcnow)
|
||||
|
||||
|
|
Loading…
Reference in a new issue