Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/pyf.services-2.0.2/pyf/services/model/tasks.py   pyf.services(Download)
    def schedule(self):
        from pyf.services.core.tasks import (cancel_if_exists,
                                          schedule_interval_tube_launch,
                                          schedule_weekdays_tube_launch,
                                          schedule_monthdays_tube_launch)
 
        if self.type == 'interval':
            schedule_interval_tube_launch(self.id, self.tube_id,
                                          int(self.time), 
                                          variant=(self.variant_name or None))