Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Mar 1, 2024
1 parent 56e248a commit b8bd971
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
1 change: 1 addition & 0 deletions biosimulator_processes/data_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
]


# TODO: You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
class BaseModel(Base):
model_config = ConfigDict(arbitrary_types_allowed=True)
protected_namespaces: Tuple = Field(default=())
Expand Down
16 changes: 6 additions & 10 deletions notebooks/data_model_demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"metadata": {
"collapsed": true,
"ExecuteTime": {
"end_time": "2024-03-01T16:47:21.583961Z",
"start_time": "2024-03-01T16:47:21.581681Z"
"end_time": "2024-03-01T16:48:23.151735Z",
"start_time": "2024-03-01T16:48:23.148684Z"
}
},
"outputs": [],
Expand Down Expand Up @@ -74,8 +74,8 @@
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2024-03-01T16:47:23.232487Z",
"start_time": "2024-03-01T16:47:21.584280Z"
"end_time": "2024-03-01T16:48:24.895974Z",
"start_time": "2024-03-01T16:48:23.425420Z"
}
},
"id": "3cd5053431aed7e1",
Expand All @@ -86,14 +86,10 @@
"outputs": [],
"source": [],
"metadata": {
"collapsed": false,
"ExecuteTime": {
"end_time": "2024-03-01T16:47:23.234568Z",
"start_time": "2024-03-01T16:47:23.232709Z"
}
"collapsed": false
},
"id": "6bf18cbc74f1f95f",
"execution_count": 2
"execution_count": null
}
],
"metadata": {
Expand Down

0 comments on commit b8bd971

Please sign in to comment.