':param sp_entity_id:
:param mds: MetadataStore instance
:return: A dictionary with restrictions'

def get_entity_categories(self, sp_entity_id, mds):

    kwargs = {'mds': mds}
    return self.get('entity_categories', sp_entity_id, default={}, post_func=post_entity_categories, **kwargs)
