We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7c0e30d commit 9c37348Copy full SHA for 9c37348
ccos/data/get_community_team_data.py
@@ -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
-
8
# Standard library
9
import inspect
10
import logging
@@ -33,6 +26,7 @@ def setup_asana_client():
33
26
LOG.critical("missin ADMIN_ASANA_TOKEN environment variable")
34
27
sys.exit(1)
35
28
asana_client = asana.Client.access_token(asana_token)
29
+ asana_client.headers = {"asana-enable": "new_goal_memberships"}
36
30
try:
37
31
# Perform simple API operation to test authentication
38
32
asana_client.workspaces.get_workspace(ASANA_WORKSPACE_GID)
0 commit comments