Return the parent Resource object for this Resource or None.
(self)
| 1501 | return not self.is_root |
| 1502 | |
| 1503 | def parent_path(self): |
| 1504 | """ |
| 1505 | Return the parent Resource object for this Resource or None. |
| 1506 | """ |
| 1507 | return self.has_parent() and parent_directory(self.path, with_trail=False) |
| 1508 | |
| 1509 | def parent(self, codebase): |
| 1510 | """ |
no test coverage detected