-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TECH DEBT] Add type hints for cached properties #2813
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
return GlobalInitScriptCrawler(self.workspace_client, self.sql_backend, self.inventory_database) | ||
|
||
@cached_property | ||
def tables_crawler(self): | ||
# TODO: Update tables crawler inheritance to specify return type hint |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pritishpai : Could you solve this in a separate PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
32dd02f
to
751a9ed
Compare
751a9ed
to
fe65226
Compare
24d4010
to
e5fd2d4
Compare
✅ 175/175 passed, 1 flaky, 4 skipped, 4h19m59s total Flaky tests:
Running from acceptance #6362 |
Changes
Add type hints for cached properties and resolve the linting issues found after adding the type hints. Would have caught the integration test issues introduced in #2772