Andrew Madonna

Results 45 comments of Andrew Madonna
trafficstars

I think I'm having the same issue. I was trying to use `async for ...` with a function wrapped using backoff. The use case is handling websocket disconnects.

@gordonwatts I used a wrapper within the wrapper. Here's a condensed version of what I was trying to do: ```py async def events(): url = getws_url() req_kwargs = {} add_auth_header(req_kwargs)...

@tommybananas > 1. is this optional? Where is the flag? In the hooks, a user does not have to pass the `options.transaction` to operations being performed there. However, the rollback...

"A Note About Transactions" in the [sequelize hooks docs](http://docs.sequelizejs.com/manual/tutorial/hooks.html) (sorry, no anchor tags on the headers) has a more info as well.

@tommybananas A simple approach may be that a user can add an unmanaged transaction to the `context` in one of the pre-write hooks, if the read or write hook sees...

@tommybananas I updated the code with the new approach. One concern I have with this, is if an error occurs somewhere along all the hooks, including internal lib hooks, what's...

@tommybananas I think the approach is close and I'm starting on tests. I think I need to add some error handling, since we can't really handle that by adding a...

I'm also experiencing this. I'm using the `Vega` component, with vega-lite spec and the mode prop set to "vega-lite". The vega-lite spec has both `width` and `height` set to "container"....

Update: switching to `render` to "svg" and adding the following CSS fixed this for me: ```css .vega-embed > svg { width: 100%; height: 100%; } ```

+1 This is pretty critical for us, our entire backend is python asyncio Looking at writing a threading based async/await wrapper similar to https://github.com/aio-libs/aioodbc