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

Method _assert_has_table

test/orm/test_utils.py:291–296  ·  view source on GitHub ↗
(self, expr, table)

Source from the content-addressed store, hash-verified

289 assert alias.thing.method() == "method"
290
291 def _assert_has_table(self, expr, table):
292 from sqlalchemy import Column # override testlib's override
293
294 for child in expr.get_children():
295 if isinstance(child, Column):
296 assert child.table is table
297
298 def test_hybrid_descriptor_one(self):
299 class Point:

Callers

nothing calls this directly

Calls 1

get_childrenMethod · 0.45

Tested by

no test coverage detected