Skip to content

Conversation

@ebrahimebrahim
Copy link
Contributor

@ebrahimebrahim ebrahimebrahim commented Apr 9, 2025

@ebrahimebrahim ebrahimebrahim linked an issue Apr 9, 2025 that may be closed by this pull request
Copy link
Contributor

@arhowe00 arhowe00 left a comment

Choose a reason for hiding this comment

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

Checked out and tested the version end to end. Looks good.

# except now it's actually a string like "Annotated[...]" with a bunch of stuff in it
origin_is_list = "list[" in field.type
origin_is_union = "|" in field.type
type_args_involve_float = "float" in field.type
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting solution, seems delicate but necessary. I like your very straightforward naming.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes it's quite brittle but I figured since the whole approach will be replaced after we merge OpenwaterHealth/OpenLIFU-python#250 and start using that in #98, it's okay to have a crappy solution here

@ebrahimebrahim ebrahimebrahim merged commit 50a6804 into main Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SolutionAnalysis not getting populated into table

3 participants