Skip to content

Commit

Permalink
quality: fix mypy complaining about types for the 'extras' key in apt…
Browse files Browse the repository at this point in the history
… resource
  • Loading branch information
alexAubin committed Jun 23, 2023
1 parent e87ee09 commit 510e82f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import random
import tempfile
import subprocess
from typing import Dict, Any, List
from typing import Dict, Any, List, Union

from moulinette import m18n
from moulinette.utils.process import check_output
Expand Down Expand Up @@ -1044,7 +1044,7 @@ class AptDependenciesAppResource(AppResource):

packages: List = []
packages_from_raw_bash: str = ""
extras: Dict[str, Dict[str, str]] = {}
extras: Dict[str, Dict[str, Union[str, List]]] = {}

def __init__(self, properties: Dict[str, Any], *args, **kwargs):
super().__init__(properties, *args, **kwargs)
Expand Down

0 comments on commit 510e82f

Please sign in to comment.