(self)
| 152 | """ |
| 153 | |
| 154 | def get_uid(self): |
| 155 | # TODO: This is not the most efficient approach - refactor this functionality into util |
| 156 | # module and re-use it here and in the DB model |
| 157 | resource_db = self.to_model(self) |
| 158 | resource_uid = resource_db.get_uid() |
| 159 | return resource_uid |
| 160 | |
| 161 | def get_pack_uid(self): |
| 162 | # TODO: This is not the most efficient approach - refactor this functionality into util |