Skip to content

Commit 4bc2713

Browse files
committed
Redefine locations Enum in ansys.dpf.core.common
1 parent 0a305b0 commit 4bc2713

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/ansys/dpf/core/common.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,16 @@
2828
from typing import Dict
2929

3030
from ansys.dpf.core.misc import module_exists
31-
from ansys.dpf.gate.common import ProgressBarBase, locations # noqa: F401
31+
from ansys.dpf.gate.common import (
32+
ProgressBarBase, # noqa: F401
33+
locations as locations_gate,
34+
)
3235
from ansys.dpf.gate.dpf_vector import ( # noqa: F401
3336
get_size_of_list as _get_size_of_list,
3437
)
3538

39+
locations = locations_gate
40+
3641

3742
def _camel_to_snake_case(name):
3843
return re.sub(r"(?<!^)(?=[A-Z])", "_", name).lower()

0 commit comments

Comments
 (0)