def as_label(metanode):
    """
    Retrieve neo4j-style label for a metanode.
    """
    import warnings
    warnings.warn(
        'hetio.neo4j.as_label is deprecated. Use metanode.neo4j_label instead.'
        , DeprecationWarning)
    return metanode.neo4j_label
