Skip to content

Commit 9c37348

Browse files
committed
disbale new_goal_memberships warning
1 parent 7c0e30d commit 9c37348

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

ccos/data/get_community_team_data.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
"""
2-
This script pulls the members of the "Community Team Tracking" Asana
3-
project, formats it a bit, then pushes it to a databag
4-
"databags/community_team_list.json"
5-
in creativecommons/creativecommons.github.io-source
6-
"""
7-
81
# Standard library
92
import inspect
103
import logging
@@ -33,6 +26,7 @@ def setup_asana_client():
3326
LOG.critical("missin ADMIN_ASANA_TOKEN environment variable")
3427
sys.exit(1)
3528
asana_client = asana.Client.access_token(asana_token)
29+
asana_client.headers = {"asana-enable": "new_goal_memberships"}
3630
try:
3731
# Perform simple API operation to test authentication
3832
asana_client.workspaces.get_workspace(ASANA_WORKSPACE_GID)

0 commit comments

Comments
 (0)