From c0208897f1652dd26eb8a432007c23f6968b3c12 Mon Sep 17 00:00:00 2001 From: pnadolny13 Date: Mon, 10 Apr 2023 10:15:36 -0400 Subject: [PATCH 1/2] update setting descriptions --- tap_google_analytics/tap.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/tap_google_analytics/tap.py b/tap_google_analytics/tap.py index cbdaa7f..3ca7a0c 100644 --- a/tap_google_analytics/tap.py +++ b/tap_google_analytics/tap.py @@ -25,7 +25,11 @@ class TapGoogleAnalytics(Tap): th.Property( "start_date", th.DateTimeType, - description="The earliest record date to sync", + description=( + "This property determines how much historical data will be extracted." + "Please be aware that the larger the time period and amount of data, " + "the longer the initial extraction can be expected to take." + ), required=True, ), th.Property( @@ -52,22 +56,22 @@ class TapGoogleAnalytics(Tap): th.Property( "access_token", th.StringType, - description="Google Analytics Access Token", + description="Google Analytics Access Token. See https://developers.google.com/analytics/devguides/reporting/core/v4/authorization#OAuth2Authorizing.", ), th.Property( "refresh_token", th.StringType, - description="Google Analytics Refresh Token", + description="Google Analytics Refresh Token. See https://developers.google.com/analytics/devguides/reporting/core/v4/authorization#OAuth2Authorizing.", ), th.Property( "client_id", th.StringType, - description="Google Analytics Client ID", + description="Google Analytics Client ID. See https://developers.google.com/analytics/devguides/reporting/core/v4/authorization#OAuth2Authorizing.", ), th.Property( "client_secret", th.StringType, - description="Google Analytics Client Secret", + description="Google Analytics Client Secret. See https://developers.google.com/analytics/devguides/reporting/core/v4/authorization#OAuth2Authorizing.", ), ), description="Google Analytics OAuth Credentials", @@ -81,7 +85,7 @@ class TapGoogleAnalytics(Tap): th.Property( "end_date", th.StringType, - description="The last record date to sync", + description="Date up to when historical data will be extracted.", ), ).to_dict() From f9f0416f3a6fc1d94042b2b348011d38f10b61c0 Mon Sep 17 00:00:00 2001 From: pnadolny13 Date: Mon, 10 Apr 2023 10:47:32 -0400 Subject: [PATCH 2/2] reformat --- tap_google_analytics/tap.py | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/tap_google_analytics/tap.py b/tap_google_analytics/tap.py index 3ca7a0c..4b0c836 100644 --- a/tap_google_analytics/tap.py +++ b/tap_google_analytics/tap.py @@ -56,22 +56,38 @@ class TapGoogleAnalytics(Tap): th.Property( "access_token", th.StringType, - description="Google Analytics Access Token. See https://developers.google.com/analytics/devguides/reporting/core/v4/authorization#OAuth2Authorizing.", + description=( + "Google Analytics Access Token. See " + "https://developers.google.com/analytics/devguides/reporting/" + "core/v4/authorization#OAuth2Authorizing." + ), ), th.Property( "refresh_token", th.StringType, - description="Google Analytics Refresh Token. See https://developers.google.com/analytics/devguides/reporting/core/v4/authorization#OAuth2Authorizing.", + description=( + "Google Analytics Refresh Token. See " + "https://developers.google.com/analytics/devguides/reporting/" + "core/v4/authorization#OAuth2Authorizing." + ), ), th.Property( "client_id", th.StringType, - description="Google Analytics Client ID. See https://developers.google.com/analytics/devguides/reporting/core/v4/authorization#OAuth2Authorizing.", + description=( + "Google Analytics Client ID. See " + "https://developers.google.com/analytics/devguides/reporting/" + "core/v4/authorization#OAuth2Authorizing." + ), ), th.Property( "client_secret", th.StringType, - description="Google Analytics Client Secret. See https://developers.google.com/analytics/devguides/reporting/core/v4/authorization#OAuth2Authorizing.", + description=( + "Google Analytics Client Secret. See " + "https://developers.google.com/analytics/devguides/reporting/" + "core/v4/authorization#OAuth2Authorizing." + ), ), ), description="Google Analytics OAuth Credentials",