Skip to content

Commit efd5077

Browse files
committed
fix version
1 parent 3347c78 commit efd5077

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ansys/dpf/core/data_sources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,7 +680,7 @@ def register_namespace(self, result_key: str, namespace: str):
680680
"""
681681
self._api.data_sources_register_namespace(self, result_key, namespace)
682682

683-
@version_requires("7.0")
683+
@version_requires("9.0")
684684
def namespace(self, result_key: str) -> str:
685685
"""
686686
Return the namespace associated to a result_key. The namespace identifies to which operator plugin a call should be delegated to.

tests/test_datasources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def test_register_namespace(allkindofcomplexity, server_type):
176176
assert op.eval() is not None
177177

178178

179-
@conftest.raises_for_servers_version_under("7.0")
179+
@conftest.raises_for_servers_version_under("9.0")
180180
def test_namespace(allkindofcomplexity, server_type):
181181
data_sources = dpf.core.DataSources(allkindofcomplexity, server=server_type)
182182
assert data_sources.namespace(data_sources.result_key) == "mapdl"

0 commit comments

Comments
 (0)