use uuid type for uuid
This commit is contained in:
parent
c6bf20b9b6
commit
f7911ca08f
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ class PositionType(Type):
|
|||
Position = PositionType()
|
||||
|
||||
class UUIDType(Type):
|
||||
pytype : type = str # TODO maybe use partial with uuid constructor?
|
||||
pytype : type = uuid.UUID
|
||||
MAX_SIZE : int = 16
|
||||
|
||||
def write(self, data:uuid.UUID, buffer:io.BytesIO, ctx:object=None):
|
||||
|
|
Loading…
Reference in a new issue