Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: generated_data as list #398

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

makelinux
Copy link
Contributor

Remove redundant conversions from None to empty list.

@mergify mergify bot added the ci-failure label Nov 18, 2024
Remove redundant conversions from None
to empty list.

Signed-off-by: Costa Shulyupin <[email protected]>
Copy link
Contributor

@bbrowning bbrowning left a comment

Choose a reason for hiding this comment

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

The tests passed here but I believe it's making a list of lists of Datasets instead of just a list of Datasets. Or it could be that I'm reading the code wrong? However, it's concerning that none of our tests caught this because an extra level of list nesting would surely mess something up.

src/instructlab/sdg/generate_data.py Show resolved Hide resolved
@mergify mergify bot added the one-approval label Dec 10, 2024
@bbrowning
Copy link
Contributor

bbrowning commented Dec 10, 2024

I need to fix a different bug near this code and don't want to cause a rebase headache for you, so going to go ahead and merge this PR. Thanks for the cleanup help!

@bbrowning bbrowning merged commit dcbabc5 into instructlab:main Dec 10, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants