diff --git a/.gitignore b/.gitignore index 475019c..4d81c2c 100644 --- a/.gitignore +++ b/.gitignore @@ -134,3 +134,6 @@ dmypy.json # Pyre type checker .pyre/ + +# Vscode +.vscode/* \ No newline at end of file diff --git a/tap_trustpilot/client.py b/tap_trustpilot/client.py index 0e6c599..f4cf95f 100644 --- a/tap_trustpilot/client.py +++ b/tap_trustpilot/client.py @@ -107,12 +107,12 @@ def get_url(self, context): def get_business_unit_id(self, website_url): if website_url in self.websites_checked: - logging.warning( + logging.info( f"Already have for {website_url} and exitsts in {self.websites_checked}" ) return self.business_unit_id - logging.warning( + logging.info( f"Getting {website_url=} and here is the liust {self.websites_checked=}" ) @@ -127,7 +127,7 @@ def get_business_unit_id(self, website_url): self.business_unit_id = res.json().get("id") self.websites_checked.append(website_url) - logging.warning(f"Fetched {self.business_unit_id=} for {website_url}") + logging.info(f"Fetched {self.business_unit_id=} for {website_url}") return self.business_unit_id diff --git a/tap_trustpilot/tap.py b/tap_trustpilot/tap.py index 75c4b3f..3815b9d 100644 --- a/tap_trustpilot/tap.py +++ b/tap_trustpilot/tap.py @@ -34,6 +34,7 @@ def config_jsonschema(self) -> dict: th.Property( "website_url", th.ArrayType(th.StringType), + description="A list of all website URLs that Trustpilot reviews should be fetched from" ), ).to_dict()