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
I'm having an issue where I am updating a template type. Some of the type attributes have a default_dataset, which seems to cause an error. I'm simply calling conn.call('update_templatetype', templatetype=ttype). For this to work successfully, I have to precede this with the following code:
for ta in ttype['typeattrs']:
if ta.get('default_dataset'):
del ta['default_dataset']
If I don't include the above, then I get a 'NoneType' object is not callable from the update_templatetype function.
The text was updated successfully, but these errors were encountered:
I'm having an issue where I am updating a template type. Some of the type attributes have a default_dataset, which seems to cause an error. I'm simply calling
conn.call('update_templatetype', templatetype=ttype)
. For this to work successfully, I have to precede this with the following code:If I don't include the above, then I get a
'NoneType' object is not callable
from the update_templatetype function.The text was updated successfully, but these errors were encountered: