(uid, podlist)
return None
Searches for a pod uid in the podlist and returns the pod if found
    :param uid: pod uid
    :param podlist: podlist dict object
    :return: pod dict object if found, None if not found
Searches for a pod uid in the podlist and returns the pod if found
    :param uid: pod uid
    :param podlist: podlist dict object
    :return: pod dict object if found, None if not found
Searches for a pod uid in the podlist and returns the pod if found : param uid : pod uid : param podlist : podlist dict object : return : pod dict object if found None if not found
def get_pod_by_uid(uid, podlist):
    """
    Searches for a pod uid in the podlist and returns the pod if found
    :param uid: pod uid
    :param podlist: podlist dict object
    :return: pod dict object if found, None if not found
    """
    for pod in podlist.get("items", []):
        try:
            if pod["metadata"]["uid"] == uid:
                return pod
        except KeyError:
            continue
    return None
def get_pod_by_uid ( uid , podlist ) : for pod in podlist . get ( "items" , [ ] ) : try : if pod [ "metadata" ] [ "uid" ] == uid : return pod except KeyError : continue return None