- uproot.deserialization.read_object_any(chunk, cursor, context, file, selffile, parent, as_class=None)
cursor (uproot.Cursor) – Current position in that
context (dict) – Auxiliary data used in deserialization.
parent (None or calling object) – The previous
readin the recursive descent.
as_class (None or uproot.Model) – If None, use the class indicated in the byte stream; otherwise, use this class.
Generic read function, which may deliver an instance of any class and may reference previously read objects.
The uproot.Cursor has an origin to account for the fact that seek positions for keys in the reference dict are relative to the start of the uproot.source.chunk.Chunk, rather than the start of the file (as it would have to be for decompressed chunks).