Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(0) | Call(0) | Derive(0) | Import(0)
list() -> new empty list list(iterable) -> new list initialized from iterable's items
src/r/o/RosterCore-0.17/roster_core/core_helpers.py RosterCore(Download)
for _, record_entry in enumerate(record_list): if( record_entry[u'record_type'] not in constants.RECORD_TYPES_INDEXED_BY_IP ): raise errors.IPIndexError('Record type not indexable by ' 'IP: %s' % record_entry)
for record_entry in record_list: if( record_entry[u'record_type'] not in constants.RECORD_TYPES_INDEXED_BY_IP ): raise errors.IPIndexError('Record type not indexable by ' 'IP: %s' % record_entry)
row_count += 1 if( records_dict['record_type'] in constants.RECORD_TYPES_INDEXED_BY_IP ): self.core_instance._AddRecordToIpIndex( records_dict['record_type'], records_dict['record_zone_name'],
src/r/o/RosterCore-0.17/roster_core/core.py RosterCore(Download)
self.db_instance.MakeRow('record_arguments_records_assignments', record_argument_assignments_dict) if( record_type in constants.RECORD_TYPES_INDEXED_BY_IP ): self._AddRecordToIpIndex(record_type, zone_name, view_name, record_id, target, record_args_dict)