Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def http(self):
url = self.field("url", "https://www.flickr.com/")
delay = self.field("delay", 0.0, cast = float)
self.request.content_type = "text/html"
yield from appier.header_a()
yield from appier.sleep(delay)
yield (yield from appier.get_a(url))
def http(self):
url = self.field("url", "https://www.flickr.com/")
delay = self.field("delay", 0.0, cast = float)
self.request.content_type = "text/html"
for value in appier.header_a(): yield value
for value in appier.sleep(delay): yield value
for value in appier.get_a(url):
yield value
yield value.result()