Using types when working with rasa from another module

I’m pretty new to mypy, but in working with rasa I’ve seen that it has good typing coverage. And when extending rasa, it was easy to add rasa types without being an expert in typing (like def handle_message(message: Message) -> None: or similar).

But looking at the mypy docs on using types from packages, I’m not sure how to tell if I can use those types outside rasa. Does anyone have experience with that?

Sorry for the late reply here, can you elaborate more on the question here, I’m not sure I understand the question?


Looking into this more, I guess I was asking if rasa was intended to support typing. I don’t see a py.typed even though it looked like much of the codebase was typed.