def _raise_unknown_type(element_type, element_name):
 raise InvalidBSON(("Detected unknown BSON type %r for fieldname '%s'. Are you using the latest driver version?" % (element_type, element_name)))

def _raise_unknown_type ( element_type , element_name ) : raise InvalidBSON ( ( "Detected unknown BSON type %r for fieldname '%s'. Are you using the latest driver version?" % ( element_type , element_name ) ) )
unknown type helper .