(self, spec)
| 285 | return results |
| 286 | |
| 287 | def readContainerSet(self, spec): |
| 288 | ttype, tspec, is_immutable = spec |
| 289 | (set_type, set_len) = self.readSetBegin() |
| 290 | # TODO: compare types we just decoded with thrift_spec |
| 291 | elems = islice(self._read_by_ttype(ttype, spec, tspec), set_len) |
| 292 | results = (frozenset if is_immutable else set)(elems) |
| 293 | self.readSetEnd() |
| 294 | return results |
| 295 | |
| 296 | def readContainerStruct(self, spec): |
| 297 | (obj_class, obj_spec) = spec |
nothing calls this directly
no test coverage detected