diff --git a/.github/workflows/dev_test_publish.yml b/.github/workflows/dev_test_publish.yml index 0341e38..5e09bba 100644 --- a/.github/workflows/dev_test_publish.yml +++ b/.github/workflows/dev_test_publish.yml @@ -32,7 +32,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v3 with: - python-version: '3.9' + python-version: '3.12.4' - name: Install latest PIP run: | @@ -62,7 +62,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v3 with: - python-version: '3.9' + python-version: '3.12.4' - name: Install latest pip, setuptools, twine + wheel run: | diff --git a/.github/workflows/main_test_publish.yml b/.github/workflows/main_test_publish.yml index 9633001..e7b9e2d 100644 --- a/.github/workflows/main_test_publish.yml +++ b/.github/workflows/main_test_publish.yml @@ -30,7 +30,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v3 with: - python-version: '3.9' + python-version: '3.12.4' - name: Install latest PIP run: | @@ -58,7 +58,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v3 with: - python-version: '3.9' + python-version: '3.12.4' - name: Install latest pip, setuptools, twine + wheel run: | diff --git a/setup.py b/setup.py index d2ca4b8..14b8e32 100755 --- a/setup.py +++ b/setup.py @@ -55,8 +55,6 @@ 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12' diff --git a/src/factiva/analytics/auth/accountinfo.py b/src/factiva/analytics/auth/accountinfo.py index e2f9d2f..47a0a51 100755 --- a/src/factiva/analytics/auth/accountinfo.py +++ b/src/factiva/analytics/auth/accountinfo.py @@ -4,7 +4,6 @@ """ 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 @@ -38,7 +37,7 @@ class AccountInfo: extractions_list: SnapshotExtractionList = None - def __init__(self, user_key: Union[UserKey, str]): + def __init__(self, user_key: UserKey | str=None): """ Construct the instance of the class