bec_lib.user_scripts_mixin.UserScriptsMixin#
- class UserScriptsMixin[source]#
Bases:
object
Methods
unload / remove loaded user scripts from builtins.
unload / remove a user scripts.
display all currently loaded user functions
Load all scripts from the scripts directory.
load a user script file and import all its definitions
- forget_all_user_scripts() None [source]#
unload / remove loaded user scripts from builtins. Files will remain untouched.
Runs a callback of type EventType.NAMESPACE_UPDATE to inform clients about removing objects from the namesapce.
- forget_user_script(name: str) None [source]#
unload / remove a user scripts. The file will remain on disk.