File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 4949if TYPE_CHECKING :
5050 from ansys .dpf import core as dpf
5151 from ansys .dpf .core import server_types
52- from ansys .grpc .dpf import data_sources_pb2 as DataSourcesPB2
52+ from ansys .grpc .dpf import data_sources_pb2
5353
5454
5555class DataSources :
@@ -61,17 +61,6 @@ class DataSources:
6161 results files versus accessory files. You can set a result file path when
6262 initializing this class.
6363
64- Parameters
65- ----------
66- result_path
67- Path of the result. The default is ``None``.
68- data_sources
69- gRPC data sources message. The default is ``None``.
70- server
71- Server with the channel connected to the remote or local instance. The
72- default is ``None``, in which case an attempt is made to use the global
73- server.
74-
7564 Examples
7665 --------
7766 Initialize a model from a result path.
@@ -89,7 +78,7 @@ class DataSources:
8978 def __init__ (
9079 self ,
9180 result_path : Optional [str , os .PathLike ] = None ,
92- data_sources : Optional [dpf .DataSources , int , DataSourcesPB2 .DataSources ] = None ,
81+ data_sources : Optional [dpf .DataSources , int , data_sources_pb2 .DataSources ] = None ,
9382 server : Optional [type [server_types .BaseServer ]] = None ,
9483 ):
9584 """Initialize a connection with the server."""
You can’t perform that action at this time.
0 commit comments