def make_secure_stub(credentials, user_agent, stub_class, host, extra_options=None):
 channel = make_secure_channel(credentials, user_agent, host, extra_options=extra_options)
 return stub_class(channel)

def make_secure_stub ( credentials , user_agent , stub_class , host , extra_options = None ) : channel = make_secure_channel ( credentials , user_agent , host , extra_options = extra_options ) return stub_class ( channel )
makes a secure stub for an rpc service .