Skip to content

Conversation

sergio-gimenez
Copy link

Current implementation does not allow filtering by slug. If slug is specified, it returns an error. A quick fix for that is to check that data['slug] is not None. If it is, it will end the loop and go for the next iteration.

@danner26
Copy link
Member

danner26 commented Sep 8, 2023

Hello,

I personally don't like how this is implemented, while it works, it'll pass over failure conditions. I have also noticed a regression thanks to this. I appreciate you pointing this out. I will submit a new PR to better solve this soon and give you credit for the find!

@danner26 danner26 added type: bug Something isn't working status: acknowledged An acknowledged question/issue for easy sorting by maintainers status: duplicate labels Sep 8, 2023
@danner26 danner26 self-assigned this Sep 8, 2023
@danner26 danner26 marked this pull request as draft September 8, 2023 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: acknowledged An acknowledged question/issue for easy sorting by maintainers status: duplicate type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants