Skip to content

Commit

Permalink
disbale new_goal_memberships warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TimidRobot committed Jul 24, 2023
1 parent 7c0e30d commit 9c37348
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions ccos/data/get_community_team_data.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
"""
This script pulls the members of the "Community Team Tracking" Asana
project, formats it a bit, then pushes it to a databag
"databags/community_team_list.json"
in creativecommons/creativecommons.github.io-source
"""

# Standard library
import inspect
import logging
Expand Down Expand Up @@ -33,6 +26,7 @@ def setup_asana_client():
LOG.critical("missin ADMIN_ASANA_TOKEN environment variable")
sys.exit(1)
asana_client = asana.Client.access_token(asana_token)
asana_client.headers = {"asana-enable": "new_goal_memberships"}
try:
# Perform simple API operation to test authentication
asana_client.workspaces.get_workspace(ASANA_WORKSPACE_GID)
Expand Down

0 comments on commit 9c37348

Please sign in to comment.