harp_apps.rules.models.scripts¶
- class Script[source]¶
Bases:
Callable
A script object represents a small python script that can be executed in a controlled environment. For example, it will hold your scripts defined in rules.
- classmethod from_file(filename)[source]¶
Constructor from a file content, by filename.
- Parameters:
filename (str)
- property filename¶
- property source¶