PHP 8.3.31
Preview: __init__.py Size: 481 B
/proc/thread-self/root/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/mr_proper/__init__.py

"""
This package contains the definitions for cleaners. A cleaner can be
used to delete old files, database entries, etc.

All cleaners:

- inherit from BaseCleaner (implement the interface)

- should be used in the MrProper plugin to have any effect
"""
from abc import ABC, abstractmethod


class BaseCleaner(ABC):
    @property
    @classmethod
    @abstractmethod
    def PERIOD(cls):
        pass

    @classmethod
    @abstractmethod
    async def cleanup(cls):
        pass

Directory Contents

Dirs: 1 × Files: 1

Name Size Perms Modified Actions
- drwxr-xr-x 2026-06-08 20:23:14
Edit Download
481 B lrw-r--r-- 2026-05-26 21:20:44
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).