def resolve_compound_var_object_fields(var, attrs):
    """
    Resolve compound variable by its object and attributes

    :param var: an object of variable
    :param attrs: a sequence of variable's attributes separated by \t (i.e.: obj\tattr1\tattr2)
    :return: a dictionary of variables's fields
    """
    attr_list = attrs.split('\t')

    for k in attr_list:
        type, _typeName, resolver = get_type(var)
        var = resolver.resolve(var, k)

    try:
        type, _typeName, resolver = get_type(var)
        return resolver.get_dictionary(var)
    except:
        pydev_log.exception()
def resolve_compound_var_object_fields ( var , attrs ) : attr_list = attrs . split ( '\t' ) for k in attr_list : type , _typeName , resolver = get_type ( var ) var = resolver . resolve ( var , k ) try : type , _typeName , resolver = get_type ( var ) return resolver . get_dictionary ( var ) except : pydev_log . exception ( )
Resolve compound variable by its object and attributes

    :param var: an object of variable
    :param attrs: a sequence of variable's attributes separated by \t (i.e.: obj\tattr1\tattr2)
    :return: a dictionary of variables's fields