-
Notifications
You must be signed in to change notification settings - Fork 22
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
fix function based collections without params #96
fix function based collections without params #96
Conversation
@vincentsarago if you'd like a test for this let me know and i can do that as well :) |
Thanks @jackharrhy
Yes please 🙏 |
I might be missing something, but I don't see how this is doing anything differently than |
@bitner because I guess Maybe this tell us there is a bug and that parameters should always default to |
This is what
You can see that |
I have updated the code and added tests. @bitner I think we don't need to change the |
Thanks for taking this over and getting it sorted! |
What I am changing
How I did it
parameters: None
properly, always default to a list to make pydantic happyHow you can test it
Create the following function
Currently
Launching tipg will fail when it goes to create an instance of Collection based off of this function due to a validation error
After this PR
Launching tipg will work as expected without any validation errors