def FromHandle(self, handle): return reflection.InterfaceRequest(handle)
def Convert(self, value): if value is None: return reflection.InterfaceRequest(mojo.system.Handle()) if not isinstance(value, reflection.InterfaceRequest): raise TypeError('%r is not an interface request' % value) return value