autonet_cumulus.commands
¶
Module Contents¶
Classes¶
Represents a set of results. Provides a way to query for the |
- class autonet_cumulus.commands.CommandResult¶
Bases:
object
- command :str¶
- original_command :str¶
- stdout :str¶
- stderr :str¶
- json :Optional[Union[dict, list]]¶
- class autonet_cumulus.commands.CommandResultSet¶
Bases:
list
Represents a set of results. Provides a way to query for the results of a given command by passing the command index, or the command itself, to
get()
.- get(self, command: str) Optional[CommandResult] ¶
Searches the result set for a given
CommandResult
based on the command issued.- Parameters:
command – The command to search for.
- Returns: