We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
One solution would be to generate a class with object names as properties. So this:
def main(res: Resources) -> None: time_actions: TimeActions = res.objects['obj_085380112a824d8eb0ebd6ed83fa27e8'] while True: time_actions.sleep(1.0, an='sleep')
would become:
def main(res: Resources) -> None: while True: objects.time_actions.sleep(1.0, an='sleep')
...which is probably a bit friendlier.
Another alternative would be something like this:
def main(res: Resources) -> None: time_actions: TimeActions = res.objects['time_actions'] while True: time_actions.sleep(1.0, an='sleep')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
One solution would be to generate a class with object names as properties. So this:
would become:
...which is probably a bit friendlier.
Another alternative would be something like this:
The text was updated successfully, but these errors were encountered: