Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __repr__(self):
return utils.get_repr(self, used=self.used, answer=self.answer)
def __repr__(self) -> str:
return utils.get_repr(self, pattern=self._pattern, constructor=True)
def __repr__(self):
return utils.get_repr(self)
def __repr__(self):
return utils.get_repr(self, question=self.question, constructor=True)
def __repr__(self) -> str:
try:
qurl = self.url()
url = qurl.toDisplayString(QUrl.EncodeUnicode) # type: ignore
except (AttributeError, RuntimeError) as exc:
url = '<{}>'.format(exc.__class__.__name__)
else:
url = utils.elide(url, 100)
return utils.get_repr(self, tab_id=self.tab_id, url=url)
def __repr__(self) -> str:
return utils.get_repr(self, value=self.value, pattern=self.pattern,
pattern_id=self.pattern_id)
def __repr__(self):
return utils.get_repr(self)
def __repr__(self):
return utils.get_repr(self)
def __repr__(self):
return utils.get_repr(self, constructor=True, url=self.url,
original_url=self.original_url, title=self.title,
active=self.active, user_data=self.user_data)