def dict_to_selector(self, payload):
        """ Translates a dict into kubernetes label format
            https://kubernetes.io/docs/user-guide/labels/
        """
        if payload:
            return ",".join(self.make_selector(*item) for item in payload.items())
 Translates a dict into kubernetes label format
            https://kubernetes.io/docs/user-guide/labels/
        
powerfulseal/k8s/k8s_client.py