Document line param to parse_entry()

This commit is contained in:
Athanasius committed 2021-04-01 14:45:50 +01:00
1 parent 3997dbab3a
commit eef4acd30b
1 file changed
+2
+2
View File
@@ -439,6 +439,8 @@ class EDLogs(FileSystemEventHandler): # type: ignore # See below
This augments some events, sets internal state in reaction to many and
loads some extra files, e.g. Cargo.json, as necessary.
:param line: bytes - The entry being parsed. Yes, this is bytes, not str.
We rely on json.loads() dealing with this properly.
:return: Dict of the processed event.
"""
# TODO(A_D): a bunch of these can be simplified to use if itertools.product and filters