# Path: intelligine/cst.py
# BRAIN = IncrementedNamedInt.get('intelligine.brain')
# 
# BRAIN_SCHEMA = IncrementedNamedInt.get('intelligine.brain_schema')
# 
# INSTANCE_CLASS = IncrementedNamedInt.get('intelligine.instance_class')


from intelligine.cst import BRAIN, BRAIN_SCHEMA, INSTANCE_CLASS


def get_brain_class(context, object_id):
    object_class = context.metas.value.get(INSTANCE_CLASS, object_id)
    return context.metas.value.get(BRAIN, object_class)


def get_brain_part(context, object_id, brain_part_name):

# Path: intelligine/cst.py
# BRAIN = IncrementedNamedInt.get('intelligine.brain')
# 
# BRAIN_SCHEMA = IncrementedNamedInt.get('intelligine.brain_schema')
# 
# INSTANCE_CLASS = IncrementedNamedInt.get('intelligine.instance_class')


# Path: intelligine/shorcut/brain.py
from intelligine.cst import BRAIN, BRAIN_SCHEMA, INSTANCE_CLASS



def get_brain_class(context, object_id):
    object_class = context.metas.value.get(INSTANCE_CLASS, object_id)
    return context.metas.value.get(BRAIN, object_class)


def get_brain_part(context, object_id, brain_part_name):

    object_class = context.metas.value.get(INSTANCE_CLASS, object_id)