Traceback (most recent call last):


 "debug_coercions.py", line 11, in <module>

x = X(uuid4())


 "<string>", line 3, in __init__


 "/Users/yungchin/src/faust/faust/models/record.py", line 514, in _init_field

value = initfun(value)


 "/Users/yungchin/src/faust/faust/models/record.py", line 320, in _init_maybe_coerce

if isinstance(value, typ):


 "/nix/store/x56821haw51fxp0rli8bjkbkhak2nxls-python3-3.7.2/lib/python3.7/typing.py", line 708, in __instancecheck__


return self.__subclasscheck__(type(obj))


 "/nix/store/x56821haw51fxp0rli8bjkbkhak2nxls-python3-3.7.2/lib/python3.7/typing.py", line 716, in __subclasscheck__


raise TypeError("Subscripted generics cannot be used with"
TypeError: Subscripted generics cannot be used with class and instance checks

Traceback (most recent call last):


 "D:\KunQian\WeiboSpider\weibo_spider\writer\mysql_writer.py", line 77, in _mysql_insert

sql, [tuple(data.values()) for data in data_list])


 "D:\Envs\weibospider\lib\site-packages\pymysql\cursors.py", line 182, in executemany

self.rowcount = sum(self.execute(query, arg) for arg in args)


 "D:\Envs\weibospider\lib\site-packages\pymysql\cursors.py", line 182, in <genexpr>

self.rowcount = sum(self.execute(query, arg) for arg in args)


 "D:\Envs\weibospider\lib\site-packages\pymysql\cursors.py", line 146, in execute

query = self.mogrify(query, args)


 "D:\Envs\weibospider\lib\site-packages\pymysql\cursors.py", line 125, in mogrify

query = query % self._escape_args(args, conn)
TypeError: not enough arguments for format string
