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)
                                          variant=(self.variant_name or None))
        elif self.type == 'weekdays':
            schedule_weekdays_tube_launch(self.id, self.tube_id,
                                          self.get_days(), self.get_hours(),
                                          variant=(self.variant_name or None))