INNER CODE UNIT · Python

CallType

grycap/scar · scar/cmdtemplate.py:18

class CallType(Enum):
    INIT = "init"
    INVOKE = "invoke"
    RUN = "run"
    LS = "ls"
    RM = "rm"
    LOG = "log"
    PUT = "put"
    GET = "get"

class Commands(metaclass=abc.ABCMeta):
    ''' All the different cloud provider controllers must inherit
    from this class to ensure that the commands are defined consistently'''

    @abc.abstractmethod
    def init(self):
        pass

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…