As a user, I can query for task parameter information
Plugin writers and users want to query tasks by data used as their RQ task parameters. For example, tasks that use base_version as an argument would be useful to query on later.
Have RQ tasks store the keyword, value pairs in a separate Table that foreign key relate to the Task model. Serialize these for the Task complete serialization.
The attribute can be called
kwargs that shows a list of <key, value> tuples.
We should have a decorators available for plugin writers to ensure this feature doesn't leak information it shouldn't. Specifically make a decorator called
no_kwargs_recording that will disable the kwargs recording for a task.
Additionally it should take a list of kwarg names that will specifically be not recorded. For example:
no_kwargs_recording('password') def myfunc(username, password): pass
This example would record the 'username' key and its value, but never the 'password' key.
#2 Updated by bmbouter over 1 year ago
- Tracker changed from Task to Story
- Subject changed from Store task parameter information to As a user, I can query for task parameter information
- Sprint/Milestone deleted (
Removing the 3.0 milestone because this would be a new feature and so it can't go into the GA since it's not already in the RC. Also converting it to a story.
Please register to edit this issue