def __init__(self, parent, subpath) : self.options = parent.options HDFArchiveGroupBasicLayer.__init__(self, parent, subpath) self.options = parent.options self.key_as_string_only = self.options['key_as_string_only'] self._reconstruct_python_objects = self.options['reconstruct_python_object'] self.is_top_level = False
def __init__(self, parent, subpath): self.options = parent.options HDFArchiveGroupBasicLayer.__init__(self, parent, subpath) self.options = parent.options self.key_as_string_only = self.options['key_as_string_only'] self._reconstruct_python_objects = self.options[ 'reconstruct_python_object'] self.is_top_level = False
def __init__(self, parent, subpath) : # We want to hold a reference to the parent group, if we are not at the root # This will prevent a premature destruction of the root HDFArchive object if not self is parent: self.parent = parent self.options = parent.options HDFArchiveGroupBasicLayer.__init__(self, parent, subpath) self.options = parent.options self.key_as_string_only = self.options['key_as_string_only'] self._reconstruct_python_objects = self.options['reconstruct_python_object'] self.is_top_level = False
def __init__(self, parent, subpath): # We want to hold a reference to the parent group, if we are not at the root # This will prevent a premature destruction of the root HDFArchive object if not self is parent: self.parent = parent self.options = parent.options HDFArchiveGroupBasicLayer.__init__(self, parent, subpath) self.options = parent.options self.key_as_string_only = self.options['key_as_string_only'] self._reconstruct_python_objects = self.options[ 'reconstruct_python_object'] self.is_top_level = False