(self)
| 368 | return None |
| 369 | |
| 370 | def target_studio(self) -> Optional[studio.Studio]: |
| 371 | if self.target_id: |
| 372 | return self._make_linked_object("id", self.target_id, studio.Studio, exceptions.StudioNotFound) |
| 373 | if self.gallery_id: |
| 374 | return self._make_linked_object("id", self.gallery_id, studio.Studio, exceptions.StudioNotFound) |
| 375 | return None |
| 376 | |
| 377 | def target_user(self) -> Optional[user.User]: |
| 378 | if self.username: |
no test coverage detected