Fixed lint and pre-commit errors.

This commit is contained in:
skarnataki
2023-10-16 07:13:30 +00:00
committed by Lucas Abel
parent 651e44e0b6
commit 3ab64ce00d
3 changed files with 108 additions and 76 deletions

View File

@@ -229,7 +229,7 @@ class DataElement:
return DataElement(DataElement.UUID, value)
@staticmethod
def text_string(value: str) -> DataElement:
def text_string(value: bytes) -> DataElement:
return DataElement(DataElement.TEXT_STRING, value)
@staticmethod