Investigating type declaration mismatches in Python | Synapse