Skip to content

Commit 8d25a7a

Browse files
changes in the add_file_path_for_specific_result function
1 parent 46175a7 commit 8d25a7a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ansys/dpf/core/data_sources.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,12 @@ def add_domain_file_path(
397397
self, str(filepath), key, domain_id
398398
)
399399

400-
def add_file_path_for_specified_result(self, filepath, key="", result_key=""):
400+
def add_file_path_for_specified_result(
401+
self,
402+
filepath: Union[str, os.PathLike],
403+
key: Optional[str] = "",
404+
result_key: Optional[str] = "",
405+
):
401406
"""Add a file path for a specified result file key to the data sources.
402407
403408
This method can be used when results files with different keys (extensions) are

0 commit comments

Comments
 (0)