Traceback (most recent call last):


 "/Users/leandro/env/acg-3.6.1/bin/mypy", line 6, in <module>

main(__file__)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/main.py", line 46, in main

res = type_check_only(sources, bin_dir, options)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/main.py", line 93, in type_check_only

options=options)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/build.py", line 188, in build

graph = dispatch(sources, manager)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/build.py", line 1570, in dispatch

process_graph(graph, manager)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/build.py", line 1813, in process_graph

process_stale_scc(graph, scc, manager)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/build.py", line 1912, in process_stale_scc

graph[id].type_check_first_pass()


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/build.py", line 1485, in type_check_first_pass

self.type_checker.check_first_pass()


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/checker.py", line 177, in check_first_pass

self.accept(d)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/checker.py", line 262, in accept

stmt.accept(self)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/nodes.py", line 748, in accept

return visitor.visit_class_def(self)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/checker.py", line 1077, in visit_class_def

self.accept(defn.defs)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/checker.py", line 262, in accept

stmt.accept(self)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/nodes.py", line 809, in accept

return visitor.visit_block(self)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/checker.py", line 1170, in visit_block

self.accept(s)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/checker.py", line 262, in accept

stmt.accept(self)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/nodes.py", line 630, in accept

return visitor.visit_decorator(self)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/checker.py", line 2207, in visit_decorator

e.func.accept(self)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/nodes.py", line 564, in accept

return visitor.visit_func_def(self)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/checker.py", line 510, in visit_func_def

self.check_method_override(defn)


 "/Users/leandro/env/acg-3.6.1/lib/python3.6/site-packages/mypy/checker.py", line 942, in check_method_override

for base in defn.info.mro[1:]:
TypeError: 'NoneType' object is not subscriptable

Traceback (most recent call last):


 "dialogue_management_model.py", line 38, in <module>

train_dialogue()


 "dialogue_management_model.py", line 25, in train_dialogue

agent.train(data)


 "/usr/local/lib/python3.7/site-packages/rasa/core/agent.py", line 668, in train

self.policy_ensemble.train(training_trackers, self.domain, **kwargs)


 "/usr/local/lib/python3.7/site-packages/rasa/core/policies/ensemble.py", line 89, in train

policy.train(training_trackers, domain, **kwargs)


 "/usr/local/lib/python3.7/site-packages/rasa/core/policies/memoization.py", line 152, in train

for t in training_trackers
TypeError: 'coroutine' object is not iterable
