Sean Coates

Results 14 comments of Sean Coates

Have you tried creating a wrapper function that's not in the class? The async function call stuff needs a function name, [not a method of a class](https://github.com/Miserlou/Zappa#restrictions).

@wawhal This certainly works if you remove your `main.app` file. When you changed the `app_function` to `main.app`, it made Zappa look in `main.py` and use the `app` object in there.

Good point. I honestly forgot that DynamoDB could have VPC endpoints. A patch to fix this would be most welcome. (-:

I don't have any lambdas in VPC, right now, but if/when I do, I can take a look at this.

`{"message": "Forbidden"}` comes from API Gateway if it can't route your request (to a lambda, or otherwise). Is there something Zappa actually did wrong here?

@aphelionz I had to hack my `pip`s on Lambda. Not sure if that's what you mean by Amazon Linux, exactly, but just in case it's helpful: ```bash # AWS broke...

This one got me, today, too. 👍

FWIW, the main part of this change is also present in #52 (though your `KeyError` vs `IndexError` is probably correct, too). Heads up when merging.

FWIW: ``` ❯ file -I scraped-data/emergency-rooms/quebec/Releve_horaire_urgences_7jours.csv scraped-data/emergency-rooms/quebec/Releve_horaire_urgences_7jours.csv: application/csv; charset=iso-8859-1 ```

I honestly forget how this works. If you're happy with the other method, so am I. (-: