src/pybel/grounding.py
def _process_node(node: Mapping[str, Any], skip_namespaces: Optional[Collection[str]] = None) -> bool:
    """Process a node JSON object, in place.

    :return: If all parts of the node were successfully grounded
    """
    success = True
    if CONCEPT in node:
        success = success and _process_concept(concept=node[CONCEPT], node=node, skip_namespaces=skip_namespaces)
    if VARIANTS in node:
        success = success and _process_list(node[VARIANTS], skip_namespaces=skip_namespaces)
    if MEMBERS in node:
        success = success and _process_list(node[MEMBERS], skip_namespaces=skip_namespaces)
    if REACTANTS in node:
        success = success and _process_list(node[REACTANTS], skip_namespaces=skip_namespaces)
    if PRODUCTS in node:
        success = success and _process_list(node[PRODUCTS], skip_namespaces=skip_namespaces)
    if FUSION in node:
        success = success and _process_fusion(node[FUSION], skip_namespaces=skip_namespaces)
    return success
Process a node JSON object, in place.

    :return: If all parts of the node were successfully grounded
    
Process a node JSON object, in place.
Process a node JSON object in place .
def _process_node(node: Mapping[str, Any], skip_namespaces: Optional[Collection[str]] = None) -> bool:
    success = True
    if CONCEPT in node:
        success = success and _process_concept(concept=node[CONCEPT], node=node, skip_namespaces=skip_namespaces)
    if VARIANTS in node:
        success = success and _process_list(node[VARIANTS], skip_namespaces=skip_namespaces)
    if MEMBERS in node:
        success = success and _process_list(node[MEMBERS], skip_namespaces=skip_namespaces)
    if REACTANTS in node:
        success = success and _process_list(node[REACTANTS], skip_namespaces=skip_namespaces)
    if PRODUCTS in node:
        success = success and _process_list(node[PRODUCTS], skip_namespaces=skip_namespaces)
    if FUSION in node:
        success = success and _process_fusion(node[FUSION], skip_namespaces=skip_namespaces)
    return success
def _process_node ( node : Mapping [ str , Any ] , skip_namespaces : Optional [ Collection [ str ] ] = None ) -> bool : success = True if CONCEPT in node : success = success and _process_concept ( concept = node [ CONCEPT ] , node = node , skip_namespaces = skip_namespaces ) if VARIANTS in node : success = success and _process_list ( node [ VARIANTS ] , skip_namespaces = skip_namespaces ) if MEMBERS in node : success = success and _process_list ( node [ MEMBERS ] , skip_namespaces = skip_namespaces ) if REACTANTS in node : success = success and _process_list ( node [ REACTANTS ] , skip_namespaces = skip_namespaces ) if PRODUCTS in node : success = success and _process_list ( node [ PRODUCTS ] , skip_namespaces = skip_namespaces ) if FUSION in node : success = success and _process_fusion ( node [ FUSION ] , skip_namespaces = skip_namespaces ) return success
Process a node JSON object, in place.
Process a node JSON object in place .
"""Process a node JSON object, in place.

    :return: If all parts of the node were successfully grounded
    """
If all parts of the node were successfully grounded
If all parts of the node were successfully grounded
node
Mapping[str, Any]
skip_namespaces
Optional[Collection[str]]