Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/sqlalchemy/sqlalchemy
/ is_instance_of
Function
is_instance_of
lib/sqlalchemy/testing/assertions.py:305–306 ·
view source on GitHub ↗
(a, b, msg=None)
Source
from the content-addressed store, hash-verified
303
304
305
def
is_instance_of(a, b, msg=None):
306
assert isinstance(a, b), msg or
"%r is not an instance of %r"
% (a, b)
307
308
309
def
is_none(a, msg=None):
Callers
15
test_table_creation
Method · 0.90
test_empty
Method · 0.90
test_simple_columns_with_objects
Method · 0.90
test_columns_with_annotations_only
Method · 0.90
test_columns_with_annotations_only_named
Method · 0.90
test_mixed_columns_and_annotations
Method · 0.90
test_annotation_completion
Method · 0.90
test_type_from_anno_ignored_when_provided
Method · 0.90
test_nullable_from_annotation
Method · 0.90
test_nullable_from_annotation_ignored_when_set
Method · 0.90
test_bad_anno_with_type_provided
Method · 0.90
test_override_column
Method · 0.90
Calls
no outgoing calls
Tested by
15
test_table_creation
Method · 0.72
test_empty
Method · 0.72
test_simple_columns_with_objects
Method · 0.72
test_columns_with_annotations_only
Method · 0.72
test_columns_with_annotations_only_named
Method · 0.72
test_mixed_columns_and_annotations
Method · 0.72
test_annotation_completion
Method · 0.72
test_type_from_anno_ignored_when_provided
Method · 0.72
test_nullable_from_annotation
Method · 0.72
test_nullable_from_annotation_ignored_when_set
Method · 0.72
test_bad_anno_with_type_provided
Method · 0.72
test_override_column
Method · 0.72