Bases: object
object
Retry Decorator to run a function multiple times
tries (int, optional) – Number if times to retry function, by default 2
n_sec (int, optional) – Number of seconds to wait between tries, by default 1
Methods
Decorator call
func (obj) – Function to retry on Exception
args (tuple) – Function arguments
kwargs (dict) – Function kwargs