def guardian_init(config, debug, master, accounts, tags): accounts_config, custodian_config, executor = init(config, None, debug, False, None, None, None, None) master_info = get_master_info(accounts_config, master) filter_accounts(accounts_config, tags, accounts, not_accounts=[master_info['name']]) return accounts_config, master_info, executor
def guardian_init(config, debug, master, accounts, tags): accounts_config, custodian_config, executor = init( config, None, debug, False, None, None, None, None) master_info = get_master_info(accounts_config, master) filter_accounts(accounts_config, tags, accounts, not_accounts=[master_info['name']]) return accounts_config, master_info, executor