oasislmf.cli.api

Classes

ListApiCmd

Issue API GET requests via the command line

RunApiCmd

Run a model via the Oasis Platoform API end to end

RunInputApiCmd

Run a model via the Oasis Platoform API end to end

RunLossApiCmd

Run a model via the Oasis Platoform API end to end

DeleteApiCmd

Delete items from the Platform API

GetApiCmd

Download files from the Oasis Platoform API

ApiCmd

The base command to inherit from for each command.

Module Contents

class oasislmf.cli.api.ListApiCmd(*args, **kwargs)[source]

Bases: oasislmf.cli.command.OasisComputationCommand

Issue API GET requests via the command line

formatter_class[source]
computation_name = 'PlatformList'[source]
class oasislmf.cli.api.RunApiCmd(*args, **kwargs)[source]

Bases: oasislmf.cli.command.OasisComputationCommand

Run a model via the Oasis Platoform API end to end

formatter_class[source]
computation_name = 'PlatformRun'[source]
class oasislmf.cli.api.RunInputApiCmd(*args, **kwargs)[source]

Bases: oasislmf.cli.command.OasisComputationCommand

Run a model via the Oasis Platoform API end to end

formatter_class[source]
computation_name = 'PlatformRunInputs'[source]
class oasislmf.cli.api.RunLossApiCmd(*args, **kwargs)[source]

Bases: oasislmf.cli.command.OasisComputationCommand

Run a model via the Oasis Platoform API end to end

formatter_class[source]
computation_name = 'PlatformRunLosses'[source]
class oasislmf.cli.api.DeleteApiCmd(*args, **kwargs)[source]

Bases: oasislmf.cli.command.OasisComputationCommand

Delete items from the Platform API

formatter_class[source]
computation_name = 'PlatformDelete'[source]
class oasislmf.cli.api.GetApiCmd(*args, **kwargs)[source]

Bases: oasislmf.cli.command.OasisComputationCommand

Download files from the Oasis Platoform API

formatter_class[source]
computation_name = 'PlatformGet'[source]
class oasislmf.cli.api.ApiCmd(*args, **kwargs)[source]

Bases: oasislmf.cli.command.OasisBaseCommand

The base command to inherit from for each command.

2 additional arguments (--verbose and --config) are added to the parser so that they are available for all commands.

sub_commands[source]