def _expand_properties(g: GraphTraversalSource, column: str, value: Any) -> GraphTraversalSource:
    if (isinstance(value, list) and (len(value) > 0)):
        for item in value:
            g = g.property(Cardinality.set_, column, item)
    elif pd.notna(value):
        g = g.property(Cardinality.set_, column, value)
    return g
def _expand_properties(g: GraphTraversalSource, column: str, value: Any) -> GraphTraversalSource:
    if (isinstance(value, list) and (len(value) > 0)):
        for item in value:
            g = g.property(Cardinality.set_, column, item)
    elif pd.notna(value):
        g = g.property(Cardinality.set_, column, value)
    return g