def __init__(self, parent, name=None, autoexec=False, exit_handler=None):
self.connection_name = name<EOL>self.parent = parent<EOL>self._stack = []<EOL>self._callbacks = []<EOL>self.autoexec = autoexec<EOL>self._exit_handler = exit_handler<EOL>
Similar interface to the Pipeline object, but with the ability
to also track a parent pipeline object.
:param parent: Pipeline() or NestedPipeline()
:param name: str, the name of the connection
:param autoexec: bool, implicitly call execute?