Skip to content

Commit 63bee3a

Browse files
new ls dyna example
1 parent 8640647 commit 63bee3a

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/ansys/dpf/core/data_sources.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
if 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

5555
class 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."""

0 commit comments

Comments
 (0)