tapis_cli.commands.taccapis.v2.notifications package

Notifications service commands

Submodules

tapis_cli.commands.taccapis.v2.notifications.create module

class tapis_cli.commands.taccapis.v2.notifications.create.NotificationsCreate(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.notifications.formatters.NotificationsFormatOne, tapis_cli.commands.taccapis.v2.notifications.mixins.NotificationOptions, tapis_cli.commands.taccapis.v2.notifications.mixins.UploadNotificationJson, tapis_cli.clients.services.mixins.OptionalTapisEntityUUID

EXTRA_VERBOSITY = 2.5
HELP_STRING = 'Create a Notification'
LEGACY_COMMMAND_STRING = 'notifications-addupdate'
VERBOSITY = 2
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.notifications.delete module

class tapis_cli.commands.taccapis.v2.notifications.delete.NotificationsDelete(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.notifications.formatters.NotificationsFormatOne, tapis_cli.commands.taccapis.v2.notifications.mixins.NotificationsUUID

EXTRA_VERBOSITY = 2
HELP_STRING = 'Delete a Notification'
LEGACY_COMMMAND_STRING = 'notifications-delete'
VERBOSITY = 2
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.notifications.formatters module

Formatters customized for notification records and listings

class tapis_cli.commands.taccapis.v2.notifications.formatters.NotificationsFormatOne(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.notifications.formatters.NotificationsBase, tapis_cli.commands.taccapis.formatters.TaccApisFormatOne

class tapis_cli.commands.taccapis.v2.notifications.formatters.NotificationsFormatMany(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.notifications.formatters.NotificationsBase, tapis_cli.commands.taccapis.formatters.TaccApisFormatMany

render_extended_parser_value(key, value, formatter=None)

tapis_cli.commands.taccapis.v2.notifications.list module

class tapis_cli.commands.taccapis.v2.notifications.list.NotificationsList(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.notifications.formatters.NotificationsFormatMany, tapis_cli.clients.services.mixins.OptionalTapisEntityUUID

EXTRA_VERBOSITY = 1
HELP_STRING = 'List Notifications [by Tapis UUID]'
LEGACY_COMMMAND_STRING = 'notifications-list'
VERBOSITY = 0
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Run command.

Return a tuple containing the column names and an iterable containing the data to be listed.

tapis_cli.commands.taccapis.v2.notifications.mixins module

class tapis_cli.commands.taccapis.v2.notifications.mixins.UploadNotificationJson

Bases: tapis_cli.clients.services.mixins.UploadJsonFile

optional = True
class tapis_cli.commands.taccapis.v2.notifications.mixins.NotificationsUUID

Bases: tapis_cli.clients.services.mixins.TapisEntityUUID

Configures a Command to require a mandatory Tapis notification UUID

dest = 'notification_uuid'
service_id_type = 'Notification'
suffix = '-011'
class tapis_cli.commands.taccapis.v2.notifications.mixins.NotificationOptions

Bases: tapis_cli.clients.services.mixins.ParserExtender

extend_parser(parser)
parsed_args_to_body(parsed_args, tapis_uuid)

tapis_cli.commands.taccapis.v2.notifications.show module

class tapis_cli.commands.taccapis.v2.notifications.show.NotificationsShow(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.notifications.formatters.NotificationsFormatOne, tapis_cli.commands.taccapis.v2.notifications.mixins.NotificationsUUID

EXTRA_VERBOSITY = 2
HELP_STRING = 'Show details of a Notification'
LEGACY_COMMMAND_STRING = 'notifications-list'
VERBOSITY = 2
get_parser(prog_name)

Return an argparse.ArgumentParser.

take_action(parsed_args)

Return a two-part tuple with a tuple of column names and a tuple of values.

tapis_cli.commands.taccapis.v2.notifications.update module

class tapis_cli.commands.taccapis.v2.notifications.update.NotificationsUpdate(app, app_args, cmd_name=None)

Bases: tapis_cli.commands.taccapis.v2.notifications.create.NotificationsCreate, tapis_cli.commands.taccapis.v2.notifications.mixins.NotificationsUUID

EXTRA_VERBOSITY = 2.5
HELP_STRING = 'Update a Notification by UUID'
LEGACY_COMMMAND_STRING = 'notifications-addupdate'
VERBOSITY = 2
get_parser(prog_name)

Return an argparse.ArgumentParser.