Skip to content

fix: Enabling data retrieval for more than 2 given dates in cabinet flow API#117

Merged
ChanukaUOJ merged 2 commits into
LDFLK:mainfrom
ChanukaUOJ:fix/enable-max-date-cabinet-flow
Jul 7, 2026
Merged

fix: Enabling data retrieval for more than 2 given dates in cabinet flow API#117
ChanukaUOJ merged 2 commits into
LDFLK:mainfrom
ChanukaUOJ:fix/enable-max-date-cabinet-flow

Conversation

@ChanukaUOJ

Copy link
Copy Markdown
Member

No description provided.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the restriction on the maximum number of dates allowed in the fetch_cabinet_flow method and updates the unit tests to support parameterized test cases with multiple dates. Feedback is provided to improve the validation logic by ensuring that empty date sequences are also caught by changing the check from len(dates) == 1 to len(dates) < 2.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread src/services/organisation_service.py Outdated
@ChanukaUOJ ChanukaUOJ requested a review from zaeema-n July 7, 2026 11:15

@zaeema-n zaeema-n left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ChanukaUOJ ChanukaUOJ merged commit 5432299 into LDFLK:main Jul 7, 2026
3 checks passed
zaeema-n added a commit to zaeema-n/GI-SERVICE that referenced this pull request Jul 8, 2026
…ate-cabinet-flow"

This reverts commit 5432299, reversing
changes made to 292e59b.
zaeema-n added a commit that referenced this pull request Jul 8, 2026
Revert "Merge pull request #117 from ChanukaUOJ/fix/enable-max-date-c…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants