app.model.orm.workspace_entry#
Classes#
Data uploaded by a user that is not linked to a study. |
Module Contents#
- class app.model.orm.workspace_entry.WorkspaceEntry[source]#
Bases:
app.model.orm.orm_base.OrmBaseData uploaded by a user that is not linked to a study.
This data is meant to be shown on a user’s dashboard, or attached to a study post-upload. It could be observational measurements, or it could be modeling results.
- createdAt: sqlalchemy.orm.Mapped[datetime.datetime][source]#
- updatedAt: sqlalchemy.orm.Mapped[datetime.datetime][source]#
- modelingResults: sqlalchemy.orm.Mapped[List[ModelingResult]][source]#
- classmethod from_upload(df, workspace, metadata={}, include_error=False)[source]#
Construct workspace entry records from the data in a CSV file.
The first column will be parsed as time values, every other column will be considered to represent measurements. If `include_error` is truthy, columns will be parsed as pairs of value and error measurements.