Skip to content

Commit

Permalink
Updated type check in init
Browse files Browse the repository at this point in the history
  • Loading branch information
miballe committed Aug 30, 2024
1 parent 8631d83 commit ea7ccf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/factiva/analytics/auth/accountinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""
import json
import pandas as pd
from typing import Union
from ..common import log, req, tools, const, config
from ..auth import UserKey
from ..snapshots import SnapshotExtractionList
Expand Down Expand Up @@ -37,7 +38,7 @@ class AccountInfo:
extractions_list: SnapshotExtractionList = None


def __init__(self, user_key: UserKey | str=None):
def __init__(self, user_key: Union[UserKey, str]):
"""
Construct the instance of the class
Expand Down

0 comments on commit ea7ccf1

Please sign in to comment.