Skip to content

Commit 4ce28a4

Browse files
authored
maint: update Operator class for PropertyFieldsContainer output type (#2852)
1 parent 14f1138 commit 4ce28a4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/ansys/dpf/core/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ class types(Enum):
184184
meshes_container = -3
185185
streams_container = -4
186186
bytes = -5
187+
property_fields_container = -6
187188

188189

189190
def types_enum_to_types():
@@ -209,6 +210,7 @@ def types_enum_to_types():
209210
meshed_region,
210211
meshes_container,
211212
property_field,
213+
property_fields_container,
212214
result_info,
213215
scoping,
214216
scopings_container,
@@ -237,6 +239,7 @@ def types_enum_to_types():
237239
types.meshed_region: meshed_region.MeshedRegion,
238240
types.result_info: result_info.ResultInfo,
239241
types.property_field: property_field.PropertyField,
242+
types.property_fields_container: property_fields_container.PropertyFieldsContainer,
240243
types.data_tree: data_tree.DataTree,
241244
types.operator: dpf_operator.Operator,
242245
types.scoping: scoping.Scoping,

src/ansys/dpf/core/dpf_operator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ def _type_to_output_method(self):
413413
meshed_region,
414414
meshes_container,
415415
property_field,
416+
property_fields_container,
416417
result_info,
417418
scoping,
418419
scopings_container,

0 commit comments

Comments
 (0)