We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 295e4df commit 47665ccCopy full SHA for 47665cc
tests/test_any.py
@@ -122,6 +122,15 @@ def test_cast_scoping_any(server_type):
122
assert entity.location == new_entity.location
123
124
125
+@conftest.raises_for_servers_version_under("7.0")
126
+def test_cast_data_sources_any(server_type):
127
+ entity = dpf.DataSources(server=server_type, location="test")
128
+ any_dpf = dpf.Any.new_from(entity)
129
+ new_entity = any_dpf.cast()
130
+
131
+ assert entity.location == new_entity.location
132
133
134
@pytest.mark.skipif(
135
not conftest.SERVERS_VERSION_GREATER_THAN_OR_EQUAL_TO_10_0,
136
reason="for_each not implemented below 8.0. Failing for gRPC CLayer below 10.0 for any.whl",
0 commit comments