You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Revert send_body() to accept protocol_version as parameter
Instead of setting msg.protocol_version externally and having send_body()
access it as an instance variable, revert to the more explicit pattern
of passing protocol_version as a parameter to send_body(). This makes
the dependency more explicit and easier to understand.
Changes:
- Updated all send_body(self, f) methods to send_body(self, f, protocol_version)
- Updated _write_query_params to accept and use protocol_version parameter
- Updated encode_message to pass protocol_version to send_body instead of setting it on message
- Updated all test files to pass protocol_version parameter to send_body
- Rebuilt C extensions to reflect the changes
/usr/lib/python3.14/site-packages/pytest_asyncio/plugin.py:211: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
2
+
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"
/home/ykaul/github/python-driver/cassandra/datastax/graph/query.py:80: UserWarning: Unknown keyword argument received for GraphOptions: graph_invalid_option
44
+
warn("Unknown keyword argument received for GraphOptions: {0}".format(attr))
/home/ykaul/github/python-driver/cassandra/policies.py:1377: DeprecationWarning: DSELoadBalancingPolicy will be removed in 4.0. Consider using DefaultLoadBalancingPolicy.
52
+
warnings.warn("DSELoadBalancingPolicy will be removed in 4.0. Consider using "
53
+
54
+
tests/unit/test_concurrent.py: 815 warnings
55
+
tests/unit/test_connection.py: 1 warning
56
+
/home/ykaul/github/python-driver/tests/unit/test_concurrent.py:105: DeprecationWarning: isSet() is deprecated, use is_set() instead
/usr/lib/python3.14/site-packages/pytest_asyncio/plugin.py:211: PytestDeprecationWarning: The configuration option "asyncio_default_fixture_loop_scope" is unset.
2
+
The event loop scope for asynchronous fixtures will default to the fixture caching scope. Future versions of pytest-asyncio will default the loop scope for asynchronous fixtures to function scope. Set the default fixture loop scope explicitly in order to avoid unexpected behavior in the future. Valid fixture loop scopes are: "function", "class", "module", "package", "session"
/home/ykaul/github/python-driver/cassandra/datastax/graph/query.py:80: UserWarning: Unknown keyword argument received for GraphOptions: graph_invalid_option
44
+
warn("Unknown keyword argument received for GraphOptions: {0}".format(attr))
/home/ykaul/github/python-driver/cassandra/policies.py:1377: DeprecationWarning: DSELoadBalancingPolicy will be removed in 4.0. Consider using DefaultLoadBalancingPolicy.
52
+
warnings.warn("DSELoadBalancingPolicy will be removed in 4.0. Consider using "
53
+
54
+
tests/unit/test_concurrent.py: 816 warnings
55
+
/home/ykaul/github/python-driver/tests/unit/test_concurrent.py:105: DeprecationWarning: isSet() is deprecated, use is_set() instead
0 commit comments