--post-function
signature should return optional list of file paths
#1136
Labels
feature request
New feature or request
--post-function
function signature should return an optional list of of files created or modified by the function. This would allow these files to be incorporated with--cleanup
and--report
.user_file
anduser_error
ExportResults
If signature was
None | list[tuple[str, str]]
then user function could return (filepath
,error
) for logging in the report alongside other errors.Reference discussion:
If you're generating something that's not really a sidecar, like generating a GIF, a more elegant solution would be to update the
--post-function
function signature to return a list of files generated and these would be added to cleanup to keep and also added to reports as auser_file
column. This could be done with backwards compatibility using:Originally posted by @RhetTbull in #1133 (reply in thread)
The text was updated successfully, but these errors were encountered: