I am trying to disable Asana API warnings like this:
UserWarning: This request is affected by the “new_user_task_lists” deprecation. Please visit this url for more info: Update on our planned API changes to user task lists (a.k.a. My Tasks)
Adding “new_user_task_lists” to your “Asana-Enable” or “Asana-Disable” header will opt in/out to this deprecation and suppress this warning.
warnings.warn(message)
I have found some instruction online using “ApiException” but all the instructions refer to sdk v5.