Tingwei
Tingwei
I found [this](https://stackoverflow.com/questions/53679905/running-pypupeteer-in-flask-gives-valueerror-signal-only-works-in-main-thread) on stackoverflow. Here is my workaround with Flask. ```py from requests_html import AsyncHTMLSession import asyncio import pyppeteer async def get_post() { new_loop=asyncio.new_event_loop() asyncio.set_event_loop(new_loop) session = AsyncHTMLSession() browser...
Here is my [workaround](https://github.com/psf/requests-html/issues/155#issuecomment-599551052)
If there's no property `"modules"` in `terraform.tfstate` file, [the following codes](https://github.com/dtan4/terraforming/blob/master/lib/terraforming/cli.rb#L269) would cause `NoMethodError` problem. ```rb tfstate["modules"][0]["resources"] = tfstate["modules"][0]["resources"].merge(klass.tfstate) ``` **UPDATE** I found [another tool](https://github.com/mmalecki/terraform-state-merge) to merge Terraform state files...
How about using [decimal](https://github.com/shopspring/decimal) ?