if some_value: my_var = function() # type: Logger else: my_var = another_function() # Why isn't there a type here?