beat.web.reports.management.commands.clean_report module

class beat.web.reports.management.commands.clean_report.Command(stdout=None, stderr=None, no_color=False)[source]

Bases: django.core.management.base.BaseCommand

help = 'Cleanup outdated locked reports'
add_arguments(parser)[source]

Entry point for subclassed commands to add custom arguments.

handle(*args, **options)[source]

The actual logic of the command. Subclasses must implement this method.

get_input_data(message, default=None)[source]

Override this method if you want to customize data inputs or validation exceptions.