From e3a13dccd540d0b7d3bd7b0a988b00e9e7545201 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 25 Oct 2024 20:16:51 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tap_linkedin_ads/streams/streams.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tap_linkedin_ads/streams/streams.py b/tap_linkedin_ads/streams/streams.py index 866626d..6e631d0 100644 --- a/tap_linkedin_ads/streams/streams.py +++ b/tap_linkedin_ads/streams/streams.py @@ -63,7 +63,9 @@ def post_process(self, row: dict, context: dict | None = None) -> dict | None: # Manual date filtering date = datetime.fromisoformat(row["last_modified_time"]) start_date = self.get_starting_timestamp(context) - end_date = datetime.fromisoformat(self.config["end_date"]).replace(tzinfo=timezone.utc) + end_date = datetime.fromisoformat(self.config["end_date"]).replace( + tzinfo=timezone.utc + ) if date >= start_date and date <= end_date: return super().post_process(row, context) return None