MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _process_ordered_values

Method _process_ordered_values

test/sql/test_update.py:871–876  ·  view source on GitHub ↗
(self, statement)

Source from the content-addressed store, hash-verified

869 # dictionaries being insert-ordered. in python 2.7 the previous
870 # logic fails pretty easily without this fixture.
871 def _process_ordered_values(self, statement):
872 super_process_ordered_values(self, statement)
873
874 tuples = list(self._dict_parameters.items())
875 random.shuffle(tuples)
876 self._dict_parameters = dict(tuples)
877
878 dialect = default.StrCompileDialect()
879 dialect.paramstyle = "qmark"

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected