Skip to content

Commit

Permalink
Merge pull request #5 from prratek/partitions-bug
Browse files Browse the repository at this point in the history
Fix list comprehension syntax for partitions
  • Loading branch information
prratek authored Feb 27, 2022
2 parents da9fbbb + d9a00a2 commit b5c780d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_instagram/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit b5c780d

Please sign in to comment.