Skip to content

Commit

Permalink
Fix type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
Schamper committed May 15, 2024
1 parent f1dfe62 commit 3457f2c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dissect/esedb/c_esedb.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
from __future__ import annotations

import datetime
import struct
import uuid
from collections import namedtuple
from typing import Union

from dissect.cstruct import cstruct

Expand Down Expand Up @@ -479,7 +482,7 @@
CODEPAGE.ASCII: "ascii",
}

RecordValue = int | float | str | bytes | datetime.datetime | None
RecordValue = Union[int, float, str, bytes, datetime.datetime, None]


def decode_bit(buf: bytes) -> bool:
Expand Down

0 comments on commit 3457f2c

Please sign in to comment.