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
If data['response'] is "failure." then an APIError should be raised. I suppose this may not be the expected functionality so I've opened an issue vs. PR for discussion.
I also think that DynamicAssetGroup#save should return the group ID vs. true/false. Is there a recommended way to retrieve this ID or is the only solution gathering all asset groups and searching by name and get the ID from the new asset group summary?
The text was updated successfully, but these errors were encountered:
For the APIError issue, make sure to communicate with Kamna or Zach about how changing this might affect existing automation.
As to the behavior around save not returning the ID, this is because DAGs in the gem are just an attempt to work around the lack of API support for DAGs. As such, the gem uses the existing protocols to create DAGs. The existing calls have a design flaw in that they do not return the ID. I believe a defect around this is already being tracked, but we may have to wait for API 2.0 support to do the right thing.
If
data['response']
is"failure."
then anAPIError
should be raised. I suppose this may not be the expected functionality so I've opened an issue vs. PR for discussion.I also think that
DynamicAssetGroup#save
should return the group ID vs. true/false. Is there a recommended way to retrieve this ID or is the only solution gathering all asset groups and searching by name and get the ID from the new asset group summary?The text was updated successfully, but these errors were encountered: