Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
fix(mypy): add String type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarcoatl committed Nov 30, 2021
1 parent f7491b0 commit a3cae41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/system/dnp3.py
Expand Up @@ -19,6 +19,8 @@

from typing import List, Optional, Union

String = Union[str, unicode]

# Constants
NUL = 0
PULSE_ON = 1
Expand Down

0 comments on commit a3cae41

Please sign in to comment.