Cleanup resources. Called when the dirty worker is shutting down. Use this to release resources like database connections, unload models, etc.
(self)
| 129 | return method(*args, **kwargs) |
| 130 | |
| 131 | def close(self): |
| 132 | """ |
| 133 | Cleanup resources. |
| 134 | |
| 135 | Called when the dirty worker is shutting down. Use this to |
| 136 | release resources like database connections, unload models, etc. |
| 137 | """ |
| 138 | |
| 139 | |
| 140 | def parse_dirty_app_spec(spec): |
no outgoing calls