You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Python 3.6 compatibility — additional fixes discovered after 0.8.1:
Replace type[Record] annotation with typing.Type[Record] in FixedWidthReader
(type[X] syntax requires Python 3.9+)
Replace add_subparsers(required=True) with a post-creation attribute assignment in cli.py (required= kwarg was added in Python 3.7)
Replace remaining tuple[...] / X | Y union syntax in docstrings for writers/base.py, writers/xml.py, and etl/table.py with typing equivalents
Import order — move readers and writers imports before etl in dbtk/__init__.py
to prevent dbtk/readers/csv.py from shadowing the stdlib csv module during ETL init
Package discovery — add [tool.setuptools.packages.find] to pyproject.toml so
setuptools < 61 (shipped with Python 3.6) correctly locates all dbtk sub-packages