Skip to content

Commit 40be9fe

Browse files
committed
Added function definition
1 parent 12beefa commit 40be9fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

circuit_maintenance_parser/parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def parser_hook(self, raw: bytes):
242242
return result
243243

244244
@staticmethod
245-
def get_text_hook(raw):
245+
def get_text_hook(raw: bytes) -> str:
246246
"""Can be overwritten by subclasses."""
247247
return raw.decode()
248248

0 commit comments

Comments
 (0)