cesium-ml / baselayer

Fully customizable (scientific, compute-intensive) web application template
http://cesium-ml.org/baselayer/
31 stars 18 forks source link

fix bulk permissions checker #220

Closed dannygoldstein closed 3 years ago

dannygoldstein commented 3 years ago

This pr eliminates the use of Base.query.get(pk_set) in the bulk permissions checker, which was causing errors to raise for pk_sets with a cardinality greater than 1.

pep8speaks commented 3 years ago

Hello @dannygoldstein! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 131:80: E501 line too long (81 > 79 characters)