Skip to content

Commit

Permalink
Fix some imports
Browse files Browse the repository at this point in the history
  • Loading branch information
berquist committed Jan 28, 2022
1 parent 65eafcd commit d1d6bb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fireworks/core/firework.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from collections import OrderedDict, defaultdict
from copy import deepcopy
from datetime import datetime
from typing import Any, Dict, Iterable, List, Optional, Sequence
from typing import Any, Dict, Iterable, List, Optional, Sequence, Tuple, Union

from monty.io import reverse_readline, zopen
from monty.os.path import zpath
Expand Down
4 changes: 2 additions & 2 deletions fireworks/scripts/lpad_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import time
import traceback
from argparse import ArgumentParser, ArgumentTypeError, Namespace
from typing import Any, Callable, Sequence
from typing import Any, Callable, List, Sequence, Union

import ruamel.yaml as yaml
from pymongo import ASCENDING, DESCENDING
Expand Down Expand Up @@ -317,7 +317,7 @@ def get_fw_ids_helper(lp, args, count_only=None):
return ids


def get_fws_helper(lp: LaunchPad, ids: Sequence[int], args: Namespace) -> List[Any]:
def get_fws_helper(lp: LaunchPad, ids: List[int], args: Namespace) -> Union[int, List[int], List[List[int]]]:
"""Get fws from ids in a representation according to args.display_format."""
fws = []
if args.display_format == "ids":
Expand Down

0 comments on commit d1d6bb9

Please sign in to comment.