A way to instantiate Deadline classes in Python scripts