Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
@on(Action.Heartbeat, skip_schema_validation=True)
def on_heartbeat(self):
pass
def test_call_representation():
call = Call(unique_id="1", action=Action.Heartbeat, payload={})
assert str(call) == ""
@after(Action.Heartbeat)
def after_heartbeat(self):
pass