Skip to content

Commit

Permalink
Resolve pyright failure
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-balachander committed Feb 1, 2024
1 parent 3efb05a commit d4f3e0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

class SObjDependency(T.NamedTuple):
table_name_from: str
table_names_to: T.Union[str, T.Tuple]
table_names_to: T.Union[str, T.Tuple[str, ...]]
field_name: str
priority: bool = False

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def _map_references(

def target_table_for(
self, tablename: str, fieldname: str
) -> T.Optional[T.Union[str, T.Tuple]]:
) -> T.Optional[T.Union[str, T.Tuple[str, ...]]]:
return self.reference_fields.get((tablename, fieldname))

def get_dependency_order(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


class SimplifiedExtractDeclarationWithLookups(SimplifiedExtractDeclaration):
lookups: T.Dict[str, T.Union[str, T.Tuple]]
lookups: T.Dict[str, T.Union[str, T.Tuple[str, ...]]]


def create_load_mapping_file_from_extract_declarations(
Expand Down

0 comments on commit d4f3e0b

Please sign in to comment.