-
-
Save maliciousgroup/dede1e3cfa39f81f67cad4ad02c39562 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import abc | |
class AbstractModule(metaclass=abc.ABCMeta): | |
async def module_shell(self) -> None: | |
""" | |
Abstract Coroutine that will spawn a sub-shell for module | |
:return: | |
""" | |
async def execute(self) -> None: | |
""" | |
Abstract Coroutine that will execute the module logic | |
:return: | |
""" | |
async def main(self) -> None: | |
""" | |
Abstract Coroutine that bootstraps the module execution | |
:return: | |
""" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment