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

fix: attempting to subscript an object #184

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Conversation

katiestahl
Copy link
Contributor

So this comment: cancervariants/fusion-curation#314 (comment) seems to have uncovered this issue. I don't really know why/how this ever worked? You can see on line 514, it's implied that this is an object, so I'm not sure why on line 516 we're attempting to subscript the object.

I could be totally off on this, but I'm going to open this PR just in case! This could be a good discussion :D

@katiestahl katiestahl added bug Something isn't working priority:high High priority labels Aug 26, 2024
@katiestahl katiestahl self-assigned this Aug 26, 2024
@jsstevenson
Copy link
Member

Yeah this has to do with pre/post validation and whether the object has been constructed recursively yet. I believe there are some changes within Pydantic releases as to how/whether this works.

@katiestahl katiestahl merged commit 38e99b4 into main Aug 26, 2024
6 checks passed
@katiestahl katiestahl deleted the hotfix-ends-validator branch August 26, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority:high High priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants