def _getAllSpacesInConstraint(spaceConstraintData):
    """
    Return a combined list of native and dynamic spaces for a constraint.

    Args:
        spaceConstraintData (dict): The loaded space constraint data
            from the space constraint node

    Returns:
        A list of dict representing spaces applied to a constraint.
        See `setupSpaceConstraint` for more detail.
    """
    return spaceConstraintData['spaces'] + spaceConstraintData['dynamicSpaces']