Skip to content

Commit c532f97

Browse files
committed
Updated method name
1 parent ed0f0c5 commit c532f97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jupyter_server_documents/outputs/manager.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _build_path(self, file_id, cell_id=None, output_index=None):
3434
path = path / f"{output_index}.output"
3535
return path
3636

37-
def _create_outputs_placeholder(self, file_id: str, cell_id: str):
37+
def _create_outputs_link(self, file_id: str, cell_id: str):
3838
url = f"/api/outputs/{file_id}/{cell_id}/stream"
3939
return {
4040
"output_type": "display_data",
@@ -72,7 +72,7 @@ def get_outputs(self, file_id, cell_id):
7272
outputs.append(output)
7373

7474
if has_more_files:
75-
placeholder = self._create_outputs_placeholder(file_id, cell_id)
75+
placeholder = self._create_outputs_link(file_id, cell_id)
7676
outputs.append(json.dumps(placeholder))
7777

7878
return outputs
@@ -134,7 +134,7 @@ def write_stream(self, file_id, cell_id, output, placeholder) -> Map:
134134
placeholder = placeholder
135135
elif count == self.stream_limit:
136136
# Return a link to the full stream output
137-
placeholder = Map(self._create_outputs_placeholder(file_id, cell_id))
137+
placeholder = Map(self._create_outputs_link(file_id, cell_id))
138138
elif count > self.stream_limit:
139139
# Return None to indicate that no placeholder should be written to the ydoc
140140
placeholder = None

0 commit comments

Comments
 (0)