Skip to content

Commit f5172bf

Browse files
authored
Remove problematic docstring example for core.download_file (#974)
* REmove problematic docstring example for core.download_file * Remove problematic docstring example for core.upload_file_in_tmp
1 parent 84b3d56 commit f5172bf

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/ansys/dpf/core/core.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,6 @@ def upload_file_in_tmp_folder(file_path, new_file_name=None, server=None):
9797
server_file_path : str
9898
path generated server side
9999
100-
Examples
101-
--------
102-
>>> from ansys.dpf import core as dpf
103-
>>> from ansys.dpf.core import examples
104-
>>> server = dpf.start_local_server(config=dpf.AvailableServerConfigs.GrpcServer,
105-
... as_global=False)
106-
>>> file_path = dpf.upload_file_in_tmp_folder(examples.find_static_rst(), server=server)
107-
108100
Notes
109101
-----
110102
Is not implemented for usage with type(server)=
@@ -162,17 +154,6 @@ def download_file(server_file_path, to_client_file_path, server=None):
162154
Server with channel connected to the remote or local instance. When
163155
``None``, attempts to use the global server.
164156
165-
Examples
166-
--------
167-
>>> from ansys.dpf import core as dpf
168-
>>> from ansys.dpf.core import examples
169-
>>> server = dpf.start_local_server(config=dpf.AvailableServerConfigs.GrpcServer,
170-
... as_global=False)
171-
>>> file_path = dpf.upload_file_in_tmp_folder(examples.find_static_rst(), server=server)
172-
>>> dpf.download_file(file_path, examples.find_static_rst(), server=server)
173-
<BLANKLINE>
174-
...
175-
176157
Notes
177158
-----
178159
Is not implemented for usage with type(server)=

0 commit comments

Comments
 (0)