Skip to content

Hook Columns not passed to FastAPI Response #134

@frayle-ons

Description

@frayle-ons

If additional, optional data is added into a dataclass object through a hook - i.e. adding an extra column of data - then the current functionality does not pass this added data to the fastapi response objects even though the dataclass object does return the extra data correctly.

This is due to the convert_dataframe_to_pydantic_response() functions only extracting data from the dataclass objects that is either required or specified as vdb metadata. We wish to add functionality that also moves each row's added columns to the fastapi response when added via hooks.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions