'Creates an object of the indicated type from the raw chunks given.
:param type_num: The numeric type of the object.
:param chunks: An iterable of the raw uncompressed contents.
:param sha: Optional known sha for the object'

@staticmethod
def from_raw_chunks(type_num, chunks, sha=None):

    obj = object_class(type_num)()
    obj.set_raw_chunks(chunks, sha)
    return obj
