Closed hedinasr closed 1 year ago
@Frankkkkk ;)
Woops, sorry Hedi. Merging that tonight :-)
On January 12, 2023 10:27:35 AM GMT+01:00, Hedi Nasr @.***> wrote:
@Frankkkkk ;)
-- Reply to this email directly or view it on GitHub: https://github.com/Frankkkkk/pykorm/pull/44#issuecomment-1380037703 You are receiving this because you were mentioned.
Message ID: @.***>
Thanks Hedi. 0.60.0 is on pypi. Cheers !
If a ListField attribute is not defined while making a query, you'll get a KeyError exception. As an attribute can be not required, this shouldn't happen.
For example:
Let's say that in your cluster there is the following
ClusterRoleBinding
:Then when you'll make the following query:
I added a test case that should fail with the exact same error without the patch in the
ListField.get_data
function.