<#3267 refactor(templates): Use `typing.override` ...
# meltano-repo-activity
g
#3267 refactor(templates): Use
typing.override
in mapper and tap templates
Pull request opened by edgarrmondragon ## Summary by Sourcery Refactor cookiecutter templates to apply the typing.override decorator to all overridden methods and conditionally import it from typing (for Python≥3.12) or typing_extensions (for earlier versions), and update project dependencies accordingly. Enhancements: • Add conditional import of override from typing or typing_extensions across REST, SQL, GraphQL, other client, and mapper templates • Annotate all overridden methods with the
@override
decorator in template classes Build: • Include typing-extensions>=4.5.0 dependency for Python versions below 3.13 in tap and mapper pyproject.toml meltano/sdk