Skip to content

Commit

Permalink
addressing some of Sebastians comments (skip earthly, because won't w…
Browse files Browse the repository at this point in the history
…ork on current device
  • Loading branch information
kasperwelbers committed Nov 26, 2023
1 parent 4207355 commit 41667da
Show file tree
Hide file tree
Showing 13 changed files with 271 additions and 238 deletions.
107 changes: 40 additions & 67 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified public/port-0.0.0-py3-none-any.whl
Binary file not shown.
Binary file modified src/framework/processing/py/dist/port-0.0.0-py3-none-any.whl
Binary file not shown.
5 changes: 2 additions & 3 deletions src/framework/processing/py/port/api/props.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,13 @@ class PropsUIPromptConsentFormTable:
id: a unique string to itentify the table after donation
title: title of the table
data_frame: table to be shown
editable: determines whether the table has an editable mode that can be toggled with a button
visualizations: optional list of visualizations to be shown
"""

id: str
title: Translatable
data_frame: pd.DataFrame
# editable: bool = True
description: Optional[Translatable] = None
visualizations: Optional[
list[PropsUIChartVisualization | PropsUITextVisualization]
] = None
Expand All @@ -218,7 +217,7 @@ def toDict(self):
dict["id"] = self.id
dict["title"] = self.title.toDict()
dict["data_frame"] = self.data_frame.to_json()
# dict["editable"] = self.editable
dict["description"] = self.description.toDict() if self.description else None
dict["visualizations"] = self.translate_visualizations()
return dict

Expand Down
Loading

0 comments on commit 41667da

Please sign in to comment.