Skip to content

Commit

Permalink
Merge pull request #401 from MustafaJafar/enhancement/add_context_to_…
Browse files Browse the repository at this point in the history
…result

Add 'context' key to 'result' dict
  • Loading branch information
mottosso authored Jun 4, 2024
2 parents 7e43e56 + 44dcc89 commit 444cc8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyblish/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ def __explicit_process(plugin, context, instance=None, action=None):
"records": list(),
"duration": None,
"progress": 0,
"context": context,
}

if not action:
Expand Down Expand Up @@ -571,6 +572,7 @@ def __implicit_process(plugin, context, instance=None, action=None):
"records": list(),
"duration": None,
"progress": 0,
"context": context,
}

if not action:
Expand Down

0 comments on commit 444cc8e

Please sign in to comment.