Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/apscheduler/__pycache__/job.cpython-39.pyc
Ðазад
a k�h�+ � @ sj d dl mZmZ d dlmZmZ d dlmZ d dlm Z d dl mZmZm Z mZmZmZ G dd� d�ZdS ) � )�Iterable�Mapping)�isclass�ismethod)�uuid4)�BaseTrigger)�check_callable_args�convert_to_datetime� datetime_repr�get_callable_name� obj_to_ref� ref_to_objc s� e Zd ZdZdZd � fdd� Zdd� Zdd � Zd d� Zdd � Z dd� Z edd� �Zdd� Z dd� Zdd� Zdd� Zdd� Zdd� Zdd� Z� ZS )!�Joba� Contains the options given when scheduling callables and its current schedule and other state. This class should never be instantiated by the user. :var str id: the unique identifier of this job :var str name: the description of this job :var func: the callable to execute :var tuple|list args: positional arguments to the callable :var dict kwargs: keyword arguments to the callable :var bool coalesce: whether to only run the job once when several run times are due :var trigger: the trigger object that controls the schedule of this job :var str executor: the name of the executor that will run this job :var int misfire_grace_time: the time (in seconds) how much this job's execution is allowed to be late (``None`` means "allow the job to run no matter how late it is") :var int max_instances: the maximum number of concurrently executing instances allowed for this job :var datetime.datetime next_run_time: the next scheduled run time of this job .. note:: The ``misfire_grace_time`` has some non-obvious effects on job execution. See the :ref:`missed-job-executions` section in the documentation for an in-depth explanation. )� _scheduler�_jobstore_alias�id�trigger�executor�func�func_ref�args�kwargs�name�misfire_grace_time�coalesce� max_instances� next_run_time�__weakref__Nc s6 t � �� || _d | _| jf d|p(t� ji|�� d S )Nr )�super�__init__r r �_modifyr �hex)�selfZ schedulerr r �� __class__� �/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/apscheduler/job.pyr : s zJob.__init__c K s | j j| j| jfi |�� | S )a- Makes the given changes to this job and saves it in the associated job store. Accepted keyword arguments are the same as the variables on this class. .. seealso:: :meth:`~apscheduler.schedulers.base.BaseScheduler.modify_job` :return Job: this job instance )r Z modify_jobr r )r"