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.
What's Changed
Python hooks received a major update in version 4 of the Tableau Migration SDK.
This change brings full autocomplete support in your favorite Python IDE!
We have also added many Python hook samples to our documentation and reorganized to make it easier to use!
In version 3, all Python hooks were thin wrappers around C# code, and the actual object manipulated by the hook was a C# object. In version 4 and beyond, everything is still a wrapper around C#, but the class itself and the context object passed to be manipulated are now fully in Python with no more C# required.
The combination of making hook writing in Python completely pythonic and updated documentation with samples means that it has never been easier to write your own custom hooks in Python! See the Documentation section for more details
These Python updates are BREAKING changes from previous versions.
Breaking Changes
Python Hook Wrappers
New Features
Python Hook Wrappers
Fixes
Adjust content finder to cache the full list just one time
Fixed Groups flaky tests
Fixed for left nav menu of the Python Wrapper section
Fixed incorrect license in packages
Documentation
Python Hook Wrapper Samples
Known Issues
Hook context objects do not have Python wrapper objects. Context objects should be access through Python.NET interop.
Python wrapper objects cannot be accessed through dependency injection. .NET object can be injected and python wrappers built from them.
Some sample hooks in documentation only include C# sample code.