Get queue from function.
(cls, func: Any, tiger: "TaskTiger")
| 584 | |
| 585 | @classmethod |
| 586 | def queue_from_function(cls, func: Any, tiger: "TaskTiger") -> str: |
| 587 | """Get queue from function.""" |
| 588 | return getattr(func, "_task_queue", tiger.config["DEFAULT_QUEUE"]) |
| 589 | |
| 590 | def n_executions(self) -> int: |
| 591 | """ |
no outgoing calls
no test coverage detected