You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classExampleClick:
...
@beat("{} clicks on something for an example.", gravitas=AIRY)defperform_as(self, the_actor: Actor) ->None:
"""Direct the Actor to do a click for an example in a Github issue."""the_actor.attempts_to(Click.on_the(self.example_target))
The beat on this Task has an AIRY gravitas, which any user would expect would apply to all the Performables performed within the task as well. But it does not. The Click contained within it will not have the gravitas of its parent, which will cause the default behavior to be taken (a logging.info message to be emitted, in the case of StdOutAdapter).
It would be very nice if the outer-most beat wrapping would "set" the gravitas for all of its inner beats and asides as well!
The text was updated successfully, but these errors were encountered:
Consider this simple Task:
The
beat
on this Task has anAIRY
gravitas, which any user would expect would apply to all the Performables performed within the task as well. But it does not. TheClick
contained within it will not have the gravitas of its parent, which will cause the default behavior to be taken (alogging.info
message to be emitted, in the case ofStdOutAdapter
).It would be very nice if the outer-most
beat
wrapping would "set" the gravitas for all of its innerbeat
s andaside
s as well!The text was updated successfully, but these errors were encountered: