MCPcopy Create free account
hub / github.com/closeio/tasktiger / queue_from_function

Method queue_from_function

tasktiger/task.py:586–588  ·  view source on GitHub ↗

Get queue from function.

(cls, func: Any, tiger: "TaskTiger")

Source from the content-addressed store, hash-verified

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 """

Callers 2

__init__Method · 0.80
_queue_periodic_tasksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected