beat.web.attestations.management.commands.clean_attestations module

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

Bases: django.core.management.base.BaseCommand

help = 'Cleanup outdated attestations'
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.