brightway-lca / brightway2-data

Tools for the management of inventory databases and impact assessment methods. Part of the Brightway LCA framework.
https://docs.brightway.dev/
BSD 3-Clause "New" or "Revised" License
8 stars 21 forks source link

`bulk_update` method missing after recent PRs merged #64

Closed aleksandra-kim closed 4 years ago

aleksandra-kim commented 4 years ago

Original report by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


Maybe got lost in the merging… but I am getting errors on default like:

AttributeError: type object 'ActivityParameter' has no attribute 'bulk_update'

And I see the method call but not method definition…

aleksandra-kim commented 4 years ago

Original comment by Daniël de Koning (Bitbucket: dgdekoning, GitHub: dgdekoning).


Oh snap, I had this same problem but forgot to include the fix.

It needs peewee to be newer than 3.9.4 (release notes here).

aleksandra-kim commented 4 years ago

Original comment by Daniël de Koning (Bitbucket: dgdekoning, GitHub: dgdekoning).


Have opened a pull-request in the conda-recipes repository.

aleksandra-kim commented 4 years ago

Original comment by Chris Mutel (Bitbucket: cmutel, GitHub: cmutel).


Fixed in dc9675c