Skip to content

Commit

Permalink
Fixed lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCalvert committed Aug 13, 2024
1 parent f041385 commit 7629cc1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckanext/googleanalytics/ga_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ def init_service(credentials_file):

return build("analytics", "v3", credentials=credentials)


def get_ga4_client(credentials_json_path):
return BetaAnalyticsDataClient.from_service_account_json(credentials_json_path)


def get_profile_id(service):
"""Get static profile ID or fetch one from the service.
Expand Down

0 comments on commit 7629cc1

Please sign in to comment.