Argument type

main2
Bob Mottram 2019-10-21 16:55:30 +01:00
parent fd626be274
commit ad16224628
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ def cleanHtml(rawHtml: str) -> str:
text = BeautifulSoup(rawHtml, 'html.parser').get_text() text = BeautifulSoup(rawHtml, 'html.parser').get_text()
return html.unescape(text) return html.unescape(text)
def getUserUrl(wfRequest) -> str: def getUserUrl(wfRequest: {}) -> str:
if wfRequest.get('links'): if wfRequest.get('links'):
for link in wfRequest['links']: for link in wfRequest['links']:
if link.get('type') and link.get('href'): if link.get('type') and link.get('href'):