python3-backcall: Specifications for callback functions passed in to an API