Skip to content

Commit

Permalink
fix: remove another complicated type in signature
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoVoges committed Jan 17, 2024
1 parent d8f1447 commit 96e385c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kapitan/inventory/inv_reclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def render_targets(self, targets: list = None, ignore_class_notfound: bool = Fal
logger.error(f"Inventory reclass error: {e.message}")
raise InventoryError(e.message)

def get_targets(self, target_names: list[str]) -> dict:
def get_targets(self, target_names: list) -> dict:

for target_name in target_names:
target = self.targets.get(target_name)
Expand Down
2 changes: 1 addition & 1 deletion kapitan/inventory/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def get_target(self, target_name: str) -> dict:
return self.get_targets([target_name])[target_name]

@abstractmethod
def get_targets(self, target_names: list[str]) -> dict:
def get_targets(self, target_names: list) -> dict:
"""
helper function to get parameters for multiple targets
"""
Expand Down

0 comments on commit 96e385c

Please sign in to comment.