I made custom K8s scheduler using python client. This is part of code that is watching for pods without assigned node.
def main(): w = watch.Watch() f