src/pybel/manager/models.py
def _start_from_base_entity(base_entity) -> 'Node':
        """Convert a base entity to a node model.

        :type base_entity: pybel.dsl.BaseEntity
        """
        return Node(
            type=base_entity.function,
            bel=base_entity.as_bel(),
            md5=base_entity.md5,
            data=base_entity,
        )
Convert a base entity to a node model.

        :type base_entity: pybel.dsl.BaseEntity
        
Convert a base entity to a node model.
Convert a base entity to a node model .
def _start_from_base_entity(base_entity) -> 'Node':
        return Node(
            type=base_entity.function,
            bel=base_entity.as_bel(),
            md5=base_entity.md5,
            data=base_entity,
        )
def _start_from_base_entity ( base_entity ) -> 'Node' : return Node ( type = base_entity . function , bel = base_entity . as_bel ( ) , md5 = base_entity . md5 , data = base_entity , )
Convert a base entity to a node model.
Convert a base entity to a node model .
"""Convert a base entity to a node model.

        :type base_entity: pybel.dsl.BaseEntity
        """
base_entity