Skip to content

Commit

Permalink
Fixing it can accept a union of parameter not mapping in JourneyApiSt…
Browse files Browse the repository at this point in the history
…ore constructor (#36)
  • Loading branch information
mwaaas authored Jan 24, 2020
1 parent 27504c3 commit 350a091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ussd/store/journey_store/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def delete(self, name, version=None):
class JourneyStoreApi(object):

def __init__(self,
driver: typing.Mapping[str, typing.Any] = "ussd.store.journey_store.YamlJourneyStore.YamlJourneyStore",
driver: typing.Union[str, typing.Any] = "ussd.store.journey_store.YamlJourneyStore.YamlJourneyStore",
driver_config: typing.Dict = None):

self.driver_config = {} \
Expand Down

0 comments on commit 350a091

Please sign in to comment.