It looks like the `py.typed` file was deleted in https://github.com/amplify-education/python-hcl2/commit/21b7cf84acf3f1937fef26ca486c6948fbacd612 which means mypy doesn't pick up the type hints in newer versions of the package.
It looks like the
py.typedfile was deleted in 21b7cf8 which means mypy doesn't pick up the type hints in newer versions of the package.