def get_actor_names(repo: AbstractRepository): actors = repo.get_actors() actor_names = [actor.actor_name for actor in actors] return actor_names
def get_actors(repo: AbstractRepository) -> List[Actor]: """ Returns a list of all Actors in the given repository. """ return repo.get_actors()