Example #1
0
 def __init__(self, options, object_tree):
   super().__init__(options, object_tree)
   self._object_tree = object_tree
   self._resource_map_resolver = d1_onedrive.impl.resolver.resource_map.Resolver(
     options, object_tree
   )
   self._readme_txt = util.os_format(README_TXT)
Example #2
0
 def __init__(self, options, object_tree):
     super().__init__(options, object_tree)
     self._object_tree = object_tree
     self._resource_map_resolver = d1_onedrive.impl.resolver.resource_map.Resolver(
         options, object_tree
     )
     self._readme_txt = util.os_format(README_TXT)
Example #3
0
 def __init__(self, options, object_tree):
     super(Resolver, self).__init__(options, object_tree)
     self._resource_map_resolver = d1_onedrive.impl.resolver.resource_map.Resolver(
         options, object_tree)
     self._region_tree_cache = disk_cache.DiskCache(
         options.region_tree_max_cache_items,
         options.region_tree_cache_path)
     self._readme_txt = util.os_format(README_TXT)
Example #4
0
 def __init__(self, options, object_tree):
     super().__init__(options, object_tree)
     self._resource_map_resolver = d1_onedrive.impl.resolver.resource_map.Resolver(
         options, object_tree
     )
     self._region_tree_cache = disk_cache.DiskCache(
         options.region_tree_max_cache_items, options.region_tree_cache_path
     )
     self._readme_txt = util.os_format(README_TXT)
Example #5
0
    def __init__(self, options, object_tree):
        super(Resolver, self).__init__(options, object_tree)
        self._resource_map_resolver = d1_onedrive.impl.resolver.resource_map.Resolver(
            options, object_tree)
        self._readme_txt = util.os_format(README_TXT)

        self._classifications = [
            'kingdom', 'phylum', 'class', 'order', 'family', 'genus',
            'species', 'scientificName'
        ]
Example #6
0
    def __init__(self, options, object_tree):
        super().__init__(options, object_tree)
        self._resource_map_resolver = d1_onedrive.impl.resolver.resource_map.Resolver(
            options, object_tree)
        self._readme_txt = util.os_format(README_TXT)

        self._classifications = [
            "kingdom",
            "phylum",
            "class",
            "order",
            "family",
            "genus",
            "species",
            "scientificName",
        ]
Example #7
0
    def __init__(self, options, object_tree):
        super().__init__(options, object_tree)
        self._resource_map_resolver = d1_onedrive.impl.resolver.resource_map.Resolver(
            options, object_tree
        )
        self._readme_txt = util.os_format(README_TXT)

        self._classifications = [
            'kingdom',
            'phylum',
            'class',
            'order',
            'family',
            'genus',
            'species',
            'scientificName',
        ]
Example #8
0
 def _generate_search_fields_text(self, record):
     return util.os_format("\n".join(
         sorted(["{}: {}".format(k, v) for k, v in list(record.items())])))
Example #9
0
 def _generate_search_fields_text(self, record):
     return util.os_format('\n'.join(
         sorted([u'{}: {}'.format(k, v) for k, v in record.items()])))
Example #10
0
 def _generate_search_fields_text(self, record):
     return util.os_format(
         '\n'.join(sorted(['{}: {}'.format(k, v) for k, v in list(record.items())]))
     )