MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / all_none

Method all_none

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

Source from the content-addressed store, hash-verified

2909 eq_(elements, exp)
2910
2911 def all_none():
2912 insp = inspect(connection)
2913 is_(insp.get_pk_constraint("foo")["comment"], None)
2914 check(
2915 insp.get_check_constraints("foo"), {"ch_1": None, "ch_2": None}
2916 )
2917 check(
2918 insp.get_unique_constraints("foo"),
2919 {"un_1": None, "un_2": None},
2920 )
2921 check(insp.get_foreign_keys("foo"), {"fk_1": None, "fk_2": None})
2922
2923 all_none()
2924

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