(self)
| 778 | |
| 779 | @property |
| 780 | def is_coro(self): |
| 781 | if self._is_coro is None: |
| 782 | # Note: Can't use cached_property on objects without __dict__ |
| 783 | try: |
| 784 | from distributed.utils import iscoroutinefunction |
| 785 | |
| 786 | self._is_coro = iscoroutinefunction(self.func) |
| 787 | except Exception: |
| 788 | self._is_coro = False |
| 789 | return self._is_coro |
| 790 | |
| 791 | def substitute( |
| 792 | self, subs: dict[KeyType, KeyType | GraphNode], key: KeyType | None = None |
nothing calls this directly
no outgoing calls
no test coverage detected