Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
with:
fetch-depth: 5
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: 3.9
python-version: '3.10'
cache: 'pip'
Comment on lines +12 to 15
- name: Install requirements
run: |
Expand Down
2 changes: 1 addition & 1 deletion wdapy/_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def recover(self) -> bool:
class _Base:
def __init__(self):
# set default value
for k, _ in typing.get_type_hints(self).items():
for k, _ in typing.get_type_hints(type(self)).items():
if not hasattr(self, k):
setattr(self, k, None)

Expand Down
Loading