MCPcopy
hub / github.com/django/django / call

Method call

django/tasks/base.py:131–134  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

129 return result
130
131 def call(self, *args, **kwargs):
132 if iscoroutinefunction(self.func):
133 return async_to_sync(self.func)(*args, **kwargs)
134 return self.func(*args, **kwargs)
135
136 async def acall(self, *args, **kwargs):
137 if iscoroutinefunction(self.func):

Calls 1

funcMethod · 0.45