Skip to content

Commit

Permalink
chore: type annotation compatible with python39
Browse files Browse the repository at this point in the history
  • Loading branch information
Cauch-BS committed Oct 30, 2024
1 parent 6eee211 commit df138c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vaxpress/sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(

@staticmethod
def truncate(
rawseq: str | list[str], preserve_stop: bool = False
rawseq: Union[str, list[str]], preserve_stop: bool = False
) -> tuple[str, str, list[str], str]:
if isinstance(rawseq, list):
rawseq = "".join(rawseq)
Expand Down

0 comments on commit df138c0

Please sign in to comment.