A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/datastax/python-driver/commit/79efe97 below:

Remove list prepend warning from cqlengine.statements · datastax/python-driver@79efe97 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+0

-9

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+0

-9

lines changed Original file line number Diff line number Diff line change

@@ -13,17 +13,13 @@

13 13

# limitations under the License.

14 14 15 15

from datetime import datetime, timedelta

16 -

import logging

17 16

import time

18 17

import six

19 -

import warnings

20 18 21 19

from cassandra.cqlengine import UnicodeMixin

22 20

from cassandra.cqlengine.functions import QueryValue

23 21

from cassandra.cqlengine.operators import BaseWhereOperator, InOperator

24 22 25 -

log = logging.getLogger(__name__)

26 - 27 23 28 24

class StatementException(Exception):

29 25

pass

@@ -295,11 +291,6 @@ def update_context(self, ctx):

295 291

ctx[str(ctx_id)] = self._to_database(self._assignments)

296 292

ctx_id += 1

297 293

if self._prepend is not None:

298 -

msg = "Previous versions of cqlengine implicitly reversed prepended lists to account for CASSANDRA-8733. " \

299 -

"THIS VERSION DOES NOT. This warning will be removed in a future release."

300 -

warnings.warn(msg)

301 -

log.warning(msg)

302 - 303 294

ctx[str(ctx_id)] = self._to_database(self._prepend)

304 295

ctx_id += 1

305 296

if self._append is not None:

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4