Skip to content

Conversation

@jorwoods
Copy link
Contributor

Decorators like api, parameter_added_in, and _tsrequest_wrapped altered the typing signatures and obfuscated mypy from inspecting any of the functions wrapped by these decorators. This PR aims to type these decorators, and fix any underlying typing issues revealed by fixing this.

@jorwoods jorwoods force-pushed the jorwoods/typing_decorators branch from a80b505 to 9f7bfaa Compare August 24, 2024 12:32
@jorwoods jorwoods force-pushed the jorwoods/typing_decorators branch from f1f8fcf to a5f1018 Compare August 24, 2024 17:21
@jorwoods jorwoods force-pushed the jorwoods/typing_decorators branch from a5f1018 to 99d330f Compare August 24, 2024 17:23
@jorwoods jorwoods marked this pull request as ready for review August 24, 2024 17:27
@jorwoods jorwoods mentioned this pull request Aug 29, 2024
Copy link
Contributor

@jacalata jacalata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great

@jacalata jacalata merged commit 678d46a into tableau:development Sep 2, 2024
@jorwoods jorwoods deleted the jorwoods/typing_decorators branch September 2, 2024 19:30
jacalata added a commit that referenced this pull request Sep 17, 2024
v0.33

Features:
- add name, datasource-name to Job item
- enable bulk add and remove users
- Linked Tasks: get, get by ID, run Now
- implement Tags: create new, add/delete for workbooks, flows, datasources
- get page and chunk size from env vars
- add some repr implementations
- implement virtual connections

Bugfix:
- #1447
- #1449
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants