Best practices
Use name="..." on everything.
name="..." on everything.Never modify host or group variables in your scripts.
Use the type checked API.
from fora import script
#@Params # Implicitly defined, no type available to type-checkers.
@script.Params # Properly typed.
class params:
#...# The host variable will always be the current host while loading.
from fora import host as this
#print(groups) <-- unchecked
print(this.groups)from fora import group as this
#print(name) <-- unchecked
print(this.name)Last updated