def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, process_name: str): Assistant.__init__(self, name, delay, zone_id, is_muted) self.process_name: str = process_name self.OFF: str = 'off' self.LOW: str = 'low' self.MEDIUM: str = 'medium' self.HIGH: str = 'high'
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, access_key: str, secret_key: str, route_id: str): Assistant.__init__(self, name, delay, zone_id, is_muted) self.access_key: str = access_key self.secret_key: str = secret_key self.route_id: str = route_id self.num_alerts: int = 0 self.READ_ALERT: str = 'read alert' self.UNREAD_ALERT: str = 'unread alert'
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, path_to_repo: str): Assistant.__init__(self, name, delay, zone_id, is_muted) self.path_to_repo: str = path_to_repo self.number_away: int = 0 self.repo: Repo self.UP_TO_DATE: str = 'up to date' self.BEHIND: str = 'behind' self.AHEAD: str = 'ahead' self.DETACHED: str = 'detached'
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, weekday_indexes: List[int], tz_abbrev: str, loc_hours: int, loc_minutes: int, notification_duration: int): Assistant.__init__(self, name, delay, zone_id, is_muted) self.weekday_indexes: List[int] = weekday_indexes self.tz_abbrev: str = tz_abbrev self.loc_hours: int = loc_hours self.loc_minutes: int = loc_minutes self.notification_duration: int = notification_duration self.NOTIFY = 'notify' self.SLEEP = 'sleep'
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, yaml_url: str, arguments: List[str], notification_duration: int): Assistant.__init__(self, name, delay, zone_id, is_muted) self.yaml_url: str = yaml_url self.arguments: List[str] = arguments self.notification_duration: int = notification_duration self._most_recent_version: str = '' self._most_recent_version_time: datetime self.UNREAD_VERSION: str = 'unread version' self.READ_VERSION: str = 'read version'
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, path_to_repo: str, main_branch_name: str): Assistant.__init__(self, name, delay, zone_id, is_muted) self.path_to_repo: str = path_to_repo self.main_branch_name: str = main_branch_name self.current_branch_name: str = '' self.MAIN_BRANCH: str = 'main branch' self.FEATURE_BRANCH: str = 'feature branch'
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, vagrant_vm_name: str, vagrant_vm_id: str): Assistant.__init__(self, name, delay, zone_id, is_muted) self.vagrant_vm_name: str = vagrant_vm_name self.vagrant_vm_id: str = vagrant_vm_id self.POWEROFF: str = 'poweroff' self.RUNNING: str = 'running' self.SAVED: str = 'saved' self.SAVING: str = 'saving' self.RESTORING: str = 'restoring' self.ABORTED: str = 'aborted'
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, chat_db_path: str, addressbook_db_path: str, names_criteria: List[Optional[str]], is_names_include: bool, groupchat_names_criteria: List[Optional[str]], is_groupchat_names_include: bool): Assistant.__init__(self, name, delay, zone_id, is_muted) self.chat_db_path: str = chat_db_path self.addressbook_db_path: str = addressbook_db_path self.names_criteria: List[Optional[str]] = list( map(lambda s: s if s is None else s.lower(), names_criteria)) self.is_names_include: bool = is_names_include self.groupchat_names_criteria: List[Optional[str]] = list( map(lambda s: s if s is None else s.lower(), groupchat_names_criteria)) self.is_groupchat_names_include: bool = is_groupchat_names_include self._desired_messages: List[Message] = [] self.READ_MESSAGES: str = 'read messages' self.UNREAD_MESSAGES: str = 'unread messages'
def __init__(self, userID, customers, bankTellers, assistants): """ Creates the variables associated with this class :type userID: string :param userID: the owner of the account :type customers: list :param customers: all customers that can be accessed :type bankTellers: list :param bankTellers: all bank tellers that can be accessed :type assistants: list :param assistants: all assistants that can be accessed """ Assistant.__init__(self, userID, customers, bankTellers) self.__assistants = assistants
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, path_to_repo: str): Assistant.__init__(self, name, delay, zone_id, is_muted) self.path_to_repo: str = path_to_repo self.BRANCH_CLEAN: str = 'branch clean' self.BRANCH_DIRTY: str = 'branch dirty'
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool): Assistant.__init__(self, name, delay, zone_id, is_muted) self.example_state: str = 'example state'
def __init__(self, name: str, delay: int, zone_id: str, is_muted: bool, job_name: str, server_url: str): Assistant.__init__(self, name, delay, zone_id, is_muted) self.job_name: str = job_name self.server_url: str = server_url