:meta private:
(self)
| 286 | raise AttributeError(f"No module has attribute '{attr_name}'.") |
| 287 | |
| 288 | def dir_additions(self): |
| 289 | """ |
| 290 | :meta private: |
| 291 | """ |
| 292 | additions = set(self.keys()) |
| 293 | for x in self.values(): |
| 294 | try: |
| 295 | additions.update(x.dir_additions) |
| 296 | except AttributeError: |
| 297 | pass |
| 298 | return additions |
| 299 | |
| 300 | def __getitem__(self, item): |
| 301 | if item == 'data' or item == 'module_dict': |