Skip to content

Fix Issue 48466#62

Merged
labkey-alan merged 3 commits intodevelopfrom
fb_issue_48466
Oct 9, 2023
Merged

Fix Issue 48466#62
labkey-alan merged 3 commits intodevelopfrom
fb_issue_48466

Conversation

@labkey-alan
Copy link
Copy Markdown
Contributor

Rationale

This PR fixes Issue 48466

Related Pull Requests

  • n/a

Changes

  • select_rows: Set default max_rows to -1

select_rows: Set default max_rows to -1
@labkey-alan labkey-alan self-assigned this Oct 9, 2023
@labkey-alan labkey-alan requested a review from RosalineP October 9, 2023 19:57
Copy link
Copy Markdown
Contributor

@RosalineP RosalineP left a comment

Choose a reason for hiding this comment

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

Looks good other than the comments/questions I had! Should be simple changes that don't warrant another review, so I'm approving.

container_path: str = None,
columns=None,
max_rows: int = None,
max_rows: int = -1,
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.

Down on line 376, should it be if max_rows is not -1?

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.

Seperately, should the @functools.wraps part down on line 525 be updated to -1 as well?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

For 376 - No, it needs to remain that way or we'll never pass the default value.
For 525 - Yes, good catch.

@labkey-alan labkey-alan merged commit 2164435 into develop Oct 9, 2023
@labkey-alan labkey-alan deleted the fb_issue_48466 branch October 9, 2023 21:42
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