Module ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assert CompareEq Call NameLoad ListLoad ListLoad Assert CompareIs Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assert Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Assert CompareEq Call NameLoad NameLoad keyword NameLoad Str Assign NameStore Call NameLoad Assert CompareIs Call NameLoad NameLoad NameLoad Str Assert CompareEq Call NameLoad NameLoad keyword NameLoad Str Assign NameStore Call NameLoad ListLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad Num Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad Num Assert CompareIs SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assert Call NameLoad NameLoad NameLoad Assert CompareEq Call NameLoad NameLoad Num Assert CompareIs SubscriptLoad NameLoad Index Num NameLoad Assert Call NameLoad SubscriptLoad NameLoad Index Num NameLoad decorator_list decorator_list
N/A __future__ absolute_import sentry.api.serializers serialize Serializer sentry.testutils TestCase Foo N/A object N/A N/A N/A FooSerializer N/A Serializer N/A serialize N/A N/A self N/A args kwargs N/A N/A lol N/A N/A BaseSerializerTest N/A TestCase N/A test_serialize N/A N/A self N/A N/A N/A N/A N/A serialize N/A N/A N/A N/A N/A serialize None None N/A user N/A N/A self create_user N/A N/A isinstance N/A serialize user dict N/A foo_serializer N/A FooSerializer N/A N/A N/A serialize user serializer foo_serializer lol N/A foo N/A Foo N/A N/A N/A serialize foo foo should return the object when unknown N/A N/A N/A serialize foo serializer foo_serializer lol N/A rv N/A serialize N/A user N/A N/A isinstance rv list N/A N/A N/A len rv 1 N/A rv N/A serialize N/A user None N/A N/A isinstance rv list N/A N/A N/A len rv 2 N/A N/A N/A rv N/A 1 None N/A rv N/A serialize N/A None user N/A N/A isinstance rv list N/A N/A N/A len rv 2 N/A N/A N/A rv N/A 0 None N/A N/A isinstance N/A rv N/A 1 dict N/A N/A