autonomy.fsm.scaffold.generators.components
Component generators.
SimpleFileGenerator Objects
class SimpleFileGenerator(AbstractFileGenerator)
For files that require minimal formatting
get_
file_
content
def get_file_content() -> str
Get the file content.
RoundFileGenerator Objects
class RoundFileGenerator(AbstractFileGenerator, ROUNDS)
File generator for 'rounds.py' modules.
get_
file_
content
def get_file_content() -> str
Scaffold the 'rounds.py' file.
BehaviourFileGenerator Objects
class BehaviourFileGenerator(AbstractFileGenerator, BEHAVIOURS)
File generator for 'behaviours.py' modules.
get_
file_
content
def get_file_content() -> str
Scaffold the 'behaviours.py' file.
PayloadsFileGenerator Objects
class PayloadsFileGenerator(AbstractFileGenerator, PAYLOADS)
File generator for 'payloads.py' modules.
get_
file_
content
def get_file_content() -> str
Get the file content.
ModelsFileGenerator Objects
class ModelsFileGenerator(SimpleFileGenerator, MODELS)
File generator for 'models.py' modules.
HandlersFileGenerator Objects
class HandlersFileGenerator(SimpleFileGenerator, HANDLERS)
File generator for 'handlers.py' modules.
DialoguesFileGenerator Objects
class DialoguesFileGenerator(SimpleFileGenerator, DIALOGUES)
File generator for 'dialogues.py' modules.