Skip to content

Commit

Permalink
change pagesize
Browse files Browse the repository at this point in the history
  • Loading branch information
TunahanGuler committed Feb 3, 2025
1 parent 0d52b14 commit df0b74e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class BitbucketMergeRequests(BitbucketProjectBase):
"""Collector for merge requests in Bitbucket."""

PAGE_SIZE = 100 # Page size for Bitbucket pagination
PAGE_SIZE = 1 # Page size for Bitbucket pagination

async def _api_url(self) -> URL:
"""Override to return the merge requests API."""
Expand All @@ -37,7 +37,6 @@ async def _get_source_responses(self, *urls: URL) -> SourceResponses:
async def _parse_entities(self, responses: SourceResponses) -> Entities:
"""Override to parse the merge requests from the responses."""
merge_requests = []
pdb.set_trace()
for response in responses:
merge_requests.extend((await response.json())["values"])
landing_url = (await self._landing_url(responses))
Expand Down

0 comments on commit df0b74e

Please sign in to comment.