(name: str)
return QueueInfo(org, repo, branch)
Parse queue name like "merge_queue:11256551.sbdchd/squawk/main"
Parse queue name like "merge_queue:11256551.sbdchd/squawk/main"
Parse queue name like merge_queue : 11256551 . sbdchd / squawk / main
def queue_info_from_name(name: str) -> QueueInfo:
    """
    Parse queue name like "merge_queue:11256551.sbdchd/squawk/main"
    """
    org, repo, branch = name.split(".", 1)[1].split("/", 2)
    return QueueInfo(org, repo, branch)
def queue_info_from_name ( name : str ) -> QueueInfo : org , repo , branch = name . split ( "." , 1 ) [ 1 ] . split ( "/" , 2 ) return QueueInfo ( org , repo , branch )