Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
e3rd committed Jan 28, 2025
1 parent 1abb7eb commit 4921957
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/run-unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", 3.11, 3.12, 3.13]
# python-version: ["3.10", 3.11, 3.12, 3.13] TODO
python-version: [3.13]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
5 changes: 4 additions & 1 deletion mininterface/auxiliary.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,10 @@ def subclass_matches_annotation(cls, annotation) -> bool:
return True

# simple types like scalars
return issubclass(cls, annotation) # TODO tuple[int, str] is not a class
try:
return issubclass(cls, annotation) # TODO tuple[int, str] is not a class
except Exception:
print("135: cls, annotation", cls, " ––– ", annotation) # TODO


def serialize_structure(obj):
Expand Down

0 comments on commit 4921957

Please sign in to comment.