def wrapper(*args, **kw):
    with Pyro4.Proxy('PYRO:{}@{}:{}'.format(service, database, port)) as obj:
        pass
How do I write a decorator to wrap something in a context manager, that takes parameters?