sdk-python
sdk-python copied to clipboard
Feature/adds activities providers
What was changed
- I added two methods (
ActivitiesProvider.get_activities_from_instance+ActivitiesProvider.get_activities_from_cls) to get activities from classes that inherit from ActivitiesProvider - I added the function
get_activitiesto get activities from a python module - tests are added of the two new methods and the 1 new function
Why?
These are useful to my code base to extract activities from classes and module
Checklist
-
Closes https://github.com/temporalio/sdk-python/issues/758
-
How was this tested:
- I added tests of the new functionality; they all pass
- Any docs updates needed? Yes, not sure where docs are generated from, where should this be added?
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.