def get_function_url(self, function):
assert self._opened, "<STR_LIT>"<EOL>logging.debug("<STR_LIT>" % repr(function))<EOL>if function in ~self._functions:<EOL><INDENT>functionid = self._functions[:function]<EOL><DEDENT>else:<EOL><INDENT>functionid = uuid.uuid1()<EOL>self._functions[functionid] = function<EOL><DEDENT>return "<STR_LIT>" % (self._connectionpool.ownid, functionid.hex)<EOL>
Registers the given callable in the system (if it isn't already)
and returns the URL that can be used to invoke the given function from remote.