kk
06/06/2022, 6:06 PMkk
06/06/2022, 7:24 PMedgar_ramirez_mondragon
06/06/2022, 7:46 PMclass MyStream(RESTStream):
@property
def partitions(self):
return [{"department": department} for department in self.config["departments"]]
def get_url_params(self, context, next_page_token):
# <https://api.example.com/employees?department=><dept. name>
return {
"department": context["department"],
}
We don't have an example of this in the partitions
API docs or in the collection of code samples, so if this works for you it'd be great to add your use case as an example 🙂kk
06/06/2022, 9:51 PMchristoph
06/06/2022, 10:18 PMlaurent
06/08/2022, 9:22 PMtap-github
where we go through a list of repositories passed in config, for instance