Spaces:
Sleeping
Sleeping
File size: 310 Bytes
33d4721 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
from abc import ABC, abstractmethod
from argparse import ArgumentParser
class BaseAutoTrainCommand(ABC):
@staticmethod
@abstractmethod
def register_subcommand(parser: ArgumentParser):
raise NotImplementedError()
@abstractmethod
def run(self):
raise NotImplementedError()
|