jan_soubusta
01/25/2024, 2:30 PMEdgar RamÃrez (Arch.dev)
01/25/2024, 6:15 PMjan_soubusta
01/26/2024, 7:32 AMpath
is class variable. In such a scope I don't know how to access self.config.
In a class method having self
as first argument it's clear. But here, I don't know.
Would you accept PR changing just the static value 10 to 100?
Based on Jira REST API DOC they recommend to set this value large a let server to decide what is the paging threshold...Edgar RamÃrez (Arch.dev)
01/26/2024, 7:16 PMpath
is a class attribute but it's always accessed as an instance attribute and never accessed at the class level, e.g. in class methods or as <Class>.path
. But you don't even need that. It's probably better to remove the url param from the path and update get_url_params
to add maxResults
to the params dictionary.jan_soubusta
01/26/2024, 7:20 PMjan_soubusta
01/29/2024, 12:20 PMjan_soubusta
01/31/2024, 8:29 AMjan_soubusta
01/31/2024, 8:30 AMjan_soubusta
01/31/2024, 8:45 AMreplication_key = "id"
replication_method = "INCREMENTAL"
tap-github (commits):
replication_key = "commit_timestamp"
Btw. replication_method is not specified in tap-github.