We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f738317 commit fec71a1Copy full SHA for fec71a1
src/ansys/dpf/core/data_sources.py
@@ -531,6 +531,19 @@ def result_key(self):
531
str
532
Result key.
533
534
+ Examples
535
+ --------
536
+
537
+ >>> from ansys.dpf import core as dpf
538
+ >>>
539
+ >>> # Create the DataSources object
540
+ >>> my_data_sources = dpf.DataSources()
541
+ >>> # Define the path where the main result file can be found
542
+ >>> my_data_sources.set_result_file_path(filepath='/tmp/file.rst', key='rst')
543
+ >>> # Get the to the main result file
544
+ >>> my_data_sources.result_key
545
+ 'rst'
546
547
"""
548
return self._api.data_sources_get_result_key(self)
549
0 commit comments