You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
hustontrevor
changed the title
list_attributes fails to get all Attribute properties unless the projedct_id is set on the connection
list_attributes fails to get all Attribute properties unless the project_id is set on the connection
Nov 19, 2024
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)
The text was updated successfully, but these errors were encountered: