I am trying to understand a python program and its using pytest framework to write tests. In the definition of functions the arguments are passed in the following way:
def get_name(a: ABC, b:DEF) -> str
where ABC and DEF are classes, Can anyone help me to understand what is happening here and why are we using a:ABC, couldn't I just write a = ABC? I have tried finding this way of passing arguments but no luck.