(entityset_id, action=Authz.READ)
| 112 | |
| 113 | |
| 114 | def get_entityset(entityset_id, action=Authz.READ): |
| 115 | eset = obj_or_404(EntitySet.by_id(entityset_id)) |
| 116 | require(request.authz.can(eset.collection_id, action)) |
| 117 | return eset |
| 118 | |
| 119 | |
| 120 | def get_nested(data, obj_field, id_field): |
no test coverage detected