def __repr__(self):
    attrs = []
    attrs.append('state:{}'.format(self._state.name.lower()))
    attrs.append(repr(self._options))
    if self.__class__.__module__.startswith('edgedb.'):
        mod = 'edgedb'
    else:
        mod = self.__class__.__module__
    return '<{}.{} {} {:#x}>'.format(mod, self.__class__.__name__, ' '.join(attrs), id(self))
def __repr__(self):
    attrs = []
    attrs.append('state:{}'.format(self._state.name.lower()))
    attrs.append(repr(self._options))
    if self.__class__.__module__.startswith('edgedb.'):
        mod = 'edgedb'
    else:
        mod = self.__class__.__module__
    return '<{}.{} {} {:#x}>'.format(mod, self.__class__.__name__, ' '.join(attrs), id(self))