def get_comms(target_name):
 from ipykernel.comm import Comm
 return Comm(target_name=target_name, data={})

def get_comms ( target_name ) : from ipykernel . comm import Comm return Comm ( target_name = target_name , data = { } )
create a jupyter comms object for a specific target .