sdk-python icon indicating copy to clipboard operation
sdk-python copied to clipboard

Feature/adds activities providers

Open spacether opened this issue 10 months ago • 2 comments

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_activities to 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

  1. Closes https://github.com/temporalio/sdk-python/issues/758

  2. How was this tested:

  • I added tests of the new functionality; they all pass
  1. Any docs updates needed? Yes, not sure where docs are generated from, where should this be added?

spacether avatar Feb 02 '25 22:02 spacether

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 02 '25 22:02 CLAassistant

CLA assistant check
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.

CLAassistant avatar Feb 02 '25 22:02 CLAassistant