Skip to content

Commit

Permalink
fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanzwicknagl committed Apr 1, 2023
1 parent 8225eba commit d167b7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/viasp/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"""

from inspect import signature
from typing import List, cast, Union
from typing import List, cast, Union

import clingo
from clingo import Control as InnerControl
Expand Down Expand Up @@ -51,7 +51,7 @@ def _get_connector(**kwargs):
return SHOWCONNECTOR


def _get_program_string(path: Union[str, list[str]]) -> str:
def _get_program_string(path: Union[str, List[str]]) -> str:
prg = ""
if isinstance(path, str):
path = [path]
Expand Down

0 comments on commit d167b7a

Please sign in to comment.