@check_type(JSONModelObject)
def object_locations(archival_object):
    'Finds locations associated with an archival object.\n\n    :param JSONModelObject archival_object: an ArchivesSpace archival_object.\n\n    :returns: Locations objects associated with the archival object.\n    :rtype: list\n    '
    locations = []
    for instance in archival_object.instances:
        top_container = instance.sub_container.top_container.reify()
        locations += top_container.container_locations
    return locations
Finds locations associated with an archival object.

:param JSONModelObject archival_object: an ArchivesSpace archival_object.

:returns: Locations objects associated with the archival object.
:rtype: list
@check_type(JSONModelObject)
def object_locations(archival_object):
    'Finds locations associated with an archival object.\n\n    :param JSONModelObject archival_object: an ArchivesSpace archival_object.\n\n    :returns: Locations objects associated with the archival object.\n    :rtype: list\n    '
    locations = []
    for instance in archival_object.instances:
        top_container = instance.sub_container.top_container.reify()
        locations += top_container.container_locations
    return locations