def sorted_field_names(obj):

    return sorted(
        f for f in dir(obj)
        if not f.startswith('_') and not hasattr(getattr(obj, f), '__call__'))
Returns alphabetically sorted list of public object field names (i.e. their
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/utils/bases.py/sorted_field_names