MCPcopy
hub / github.com/django/django / AsyncHandler

Class AsyncHandler

tests/signals/tests.py:549–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

547
548
549class AsyncHandler:
550 param = 0
551
552 def __init__(self):
553 markcoroutinefunction(self)
554
555 async def __call__(self, **kwargs):
556 self.param += 1
557 return self.param
558
559
560class AsyncReceiversTests(SimpleTestCase):

Callers 6

test_asendMethod · 0.85
test_sendMethod · 0.85
test_send_robustMethod · 0.85
test_asend_robustMethod · 0.85

Calls

no outgoing calls

Tested by 6

test_asendMethod · 0.68
test_sendMethod · 0.68
test_send_robustMethod · 0.68
test_asend_robustMethod · 0.68