Skip to content

feat/add support for persisting file data changes #49

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

Merged
merged 2 commits into from
Apr 9, 2025

Conversation

rbiseck3
Copy link
Collaborator

@rbiseck3 rbiseck3 commented Apr 8, 2025

No description provided.

@rbiseck3 rbiseck3 requested a review from shreyanid April 8, 2025 19:53
@@ -25,6 +25,7 @@ class InvokeResponse(BaseModel):
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
Collaborator 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