May affect many other lists or Object collection methods
This fails on the ancestors. Debugging shows the ancestors list to have an error about the object not existing in the metadata
mstr_conn = Connection(base_url=my_base_url , username=my_username, password=my_password, ssl_verify=False)
my_project_id = '<a valid project id>'
attributes_list = list_attributes(connection=mstr_conn,project_id=my_project_id)
for a in attributes_list :
if a.ancestors[1]['name'] != "System Objects":
The problem goes away if you set the project directly, but then what is the point of the project_id being in the list_attributes parameters?
mstr_conn.select_project(project_id=my_project_id)
May affect many other lists or Object collection methods
This fails on the ancestors. Debugging shows the ancestors list to have an error about the object not existing in the metadata
The problem goes away if you set the project directly, but then what is the point of the project_id being in the list_attributes parameters? mstr_conn.select_project(project_id=my_project_id)