diff --git a/getdeck/sources/selector.py b/getdeck/sources/selector.py index 9a3f07c..262d606 100644 --- a/getdeck/sources/selector.py +++ b/getdeck/sources/selector.py @@ -1,4 +1,4 @@ -from typing import Union +from typing import Union, Optional from getdeck.deckfile.file import ( DeckfileFileSource, DeckfileHelmSource, @@ -12,7 +12,7 @@ def select_fetcher_strategy( source: Union[DeckfileFileSource, DeckfileHelmSource, DeckfileKustomizeSource] -) -> Fetcher | None: +) -> Optional[Fetcher]: fetcher_strategy = { DeckfileFileSource: FileFetcher, DeckfileHelmSource: HelmFetcher,