From d9a00a296630de779495039691a10a1e7f1f87a7 Mon Sep 17 00:00:00 2001 From: Prratek Ramchandani Date: Sat, 26 Feb 2022 23:02:45 -0500 Subject: [PATCH] fix list comprehension syntax for partitions --- tap_instagram/streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_instagram/streams.py b/tap_instagram/streams.py index 6ae7136..a43c166 100644 --- a/tap_instagram/streams.py +++ b/tap_instagram/streams.py @@ -42,7 +42,7 @@ class UsersStream(InstagramStream): @property def partitions(self) -> Optional[List[dict]]: - return [{"user_id": user_id for user_id in self.config["ig_user_ids"]}] + return [{"user_id": user_id} for user_id in self.config["ig_user_ids"]] def get_url_params( self, context: Optional[dict], next_page_token: Optional[Any]