Skip to content

Instantly share code, notes, and snippets.

View mehdy's full-sized avatar
☁️
Computing

Mehdi Khoshnoodi mehdy

☁️
Computing
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mehdy on github.
  • I am mehdy (https://keybase.io/mehdy) on keybase.
  • I have a public key ASD_mZe2O7V7KaFdA5GP_I27kS3HjXO93H5jlEHDDyqa_go

To claim this, I am signing this object:

def main():
print("Hi")
if __name__ == '__main__':
main()
@mehdy
mehdy / app.py
Created August 22, 2020 17:42
Async jinja2 with flask PoC
from flask import Flask, render_template
import asyncio
app = Flask(__name__)
app.jinja_options['enable_async'] = True
async def counter():
return range(1, 10)