MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / init_objects

Method init_objects

test/perf/compiled_extensions/misc.py:211–218  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 IMPLEMENTATIONS = {"python": python.__func__, "cython": cython.__func__}
210
211 def init_objects(self):
212 self.object_1 = column("x")
213 self.object_2 = bindparam("y")
214
215 self.impl_w_non_present = self.impl()
216 self.impl_w_present = iwp = self.impl()
217 iwp.get_anon(self.object_1)
218 iwp.get_anon(self.object_2)
219
220 @classmethod
221 def update_results(cls, results):

Callers

nothing calls this directly

Calls 3

columnFunction · 0.90
bindparamFunction · 0.90
get_anonMethod · 0.80

Tested by

no test coverage detected