tardis.tardis_portal.management.commands package
Submodules
tardis.tardis_portal.management.commands.createuser module
Management utility to create regular users.
- class tardis.tardis_portal.management.commands.createuser.Command(stdout=None, stderr=None, no_color=False, force_color=False)
Bases:
BaseCommand- add_arguments(parser)
Entry point for subclassed commands to add custom arguments.
- handle(*args, **options)
The actual logic of the command. Subclasses must implement this method.
- help = 'Used to create a MyTardis user.'
- tardis.tardis_portal.management.commands.createuser.is_valid_email(value)
tardis.tardis_portal.management.commands.dumpschemas module
Command for dumping soft schema definitions
- class tardis.tardis_portal.management.commands.dumpschemas.Command(stdout=None, stderr=None, no_color=False, force_color=False)
Bases:
BaseCommand- add_arguments(parser)
Entry point for subclassed commands to add custom arguments.
- args = '[namespace...]'
- handle(*args, **options)
The actual logic of the command. Subclasses must implement this method.
- help = 'Dump soft schema definitions. No namespace = dump all schemas'
tardis.tardis_portal.management.commands.loadschemas module
Command for loading soft schema definitions
- class tardis.tardis_portal.management.commands.loadschemas.Command(stdout=None, stderr=None, no_color=False, force_color=False)
Bases:
BaseCommand- add_arguments(parser)
Entry point for subclassed commands to add custom arguments.
- args = 'schema [schema ...]'
- handle(*args, **options)
The actual logic of the command. Subclasses must implement this method.
- help = 'Load soft schema definitions'
tardis.tardis_portal.management.commands.rmexperiment module
Management command to delete the specified experiment and its associated datasets, datafiles and parameters.
The operation is atomic, either the entire experiment is deleted, or nothing.
rmexperiment was introduced due to the Oracle DISTINCT workaround causing sql delete cascading to fail. The current implementation of rmexperiment still relies on some cascading.
- class tardis.tardis_portal.management.commands.rmexperiment.Command(stdout=None, stderr=None, no_color=False, force_color=False)
Bases:
BaseCommand- add_arguments(parser)
Entry point for subclassed commands to add custom arguments.
- args = '<MyTardis Exp ID>'
- handle(*args, **options)
The actual logic of the command. Subclasses must implement this method.
- help = 'Delete the supplied MyTardis Experiment ID'