How should I correctly add paths to the `cleanup_full_paths` variable?

Good afternoon. I need to delete a temporary directory in my addon. I looked into how this is implemented in AYON and found the cleanup(Ynput\AYON\addons\core_1.0.13\ayon_core\plugins\publish\cleanup_explicit.py). I understand that I need to add the path to be deleted into the " cleanup_full_paths" variable, but when I try to do this in my addon. And In " cleanup_full_paths", it ends up being empty.
What am I doing wrong? And how should I correctly add paths to the cleanup_full_paths` variable?
This is how I add the path to it:

You are going in the right direction, here’s the missing piece of the puzzle.
There are 2 keys: cleanupEmptyDirs and cleanupFullPaths

Here’s an example:

1 Like