File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -142,10 +142,10 @@ async def get_document(
142
142
file_format : Literal ["json" , "text" ],
143
143
copy : bool = True ,
144
144
) -> YBaseDoc | None :
145
- """Get a read-only view of the shared model for the matching document.
145
+ """Get a view of the shared model for the matching document.
146
146
147
- The returned shared model is a fork, meaning that any changes made to it
148
- will not be propagated to the shared model used by the application.
147
+ If `copy=True`, the returned shared model is a fork, meaning that any changes
148
+ made to it will not be propagated to the shared model used by the application.
149
149
"""
150
150
file_id_manager = self .serverapp .web_app .settings ["file_id_manager" ]
151
151
file_id = file_id_manager .index (path )
You can’t perform that action at this time.
0 commit comments