Add type annotations to topology class.

6 jobs for !6317 with patch-avs-topology-annotations in 15 minutes and 18 seconds (queued for 5 seconds)
merge request