Skip to content

Conversation

rbiseck3
Copy link
Contributor

@rbiseck3 rbiseck3 commented Apr 8, 2025

No description provided.

@rbiseck3 rbiseck3 requested a review from shreyanid April 8, 2025 19:53
filedata_meta: FileDataMeta
status_code_text: Optional[str] = None
output: Optional[Any] = None
file_data: Optional[Union[FileData, BatchFileData]] = None

Choose a reason for hiding this comment

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

curious why the InvokeResponse class is defined in multiple places

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The original one is defined within the method to allow some of the typing to be dynamically updated to be more exact based on the schema of the data coming out of the python code being wrapped. It's defined here as well to let us deserialize the http response into a pydantic model.

Copy link

@shreyanid shreyanid left a comment

Choose a reason for hiding this comment

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

looks good! couple small comments / questions but major no blockers

@rbiseck3 rbiseck3 merged commit 6dd7c30 into main Apr 9, 2025
9 checks passed
@rbiseck3 rbiseck3 deleted the roman/persist-file-data-changes branch April 9, 2025 13:22
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.

2 participants