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

Method all_none

test/dialect/postgresql/test_reflection.py:2930–2940  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2928 eq_(elements, exp)
2929
2930 def all_none():
2931 insp = inspect(connection)
2932 is_(insp.get_pk_constraint("foo")["comment"], None)
2933 check(
2934 insp.get_check_constraints("foo"), {"ch_1": None, "ch_2": None}
2935 )
2936 check(
2937 insp.get_unique_constraints("foo"),
2938 {"un_1": None, "un_2": None},
2939 )
2940 check(insp.get_foreign_keys("foo"), {"fk_1": None, "fk_2": None})
2941
2942 all_none()
2943

Callers

nothing calls this directly

Calls 7

inspectFunction · 0.90
is_Function · 0.90
checkFunction · 0.50
get_pk_constraintMethod · 0.45
get_check_constraintsMethod · 0.45
get_foreign_keysMethod · 0.45

Tested by

no test coverage detected