From 04dfcf5f0164fba66086de428ec3c4d5e138b66f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= Date: Thu, 12 Sep 2024 21:56:23 +0200 Subject: [PATCH] add get_rst_streams_provider to CompositeModelImpl2023R2 --- src/ansys/dpf/composites/_composite_model_impl_2023r2.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ansys/dpf/composites/_composite_model_impl_2023r2.py b/src/ansys/dpf/composites/_composite_model_impl_2023r2.py index 6689c8cb7..05369346d 100644 --- a/src/ansys/dpf/composites/_composite_model_impl_2023r2.py +++ b/src/ansys/dpf/composites/_composite_model_impl_2023r2.py @@ -648,3 +648,7 @@ def _first_composite_definition_label_if_only_one(self) -> str: f"Multiple composite definition keys exist: {self.composite_definition_labels}. " f"Specify a key explicitly." ) + + def get_rst_streams_provider(self) -> Operator: + """Get the stream provider of the result file.""" + return self._core_model.metadata.streams_provider