Pull the list of folders from the Remote. .. note:: If the project has not been opened, it will be opened upon calling this. :param progress: Function to call for progress updates :raises: RuntimeError if there was an error pulling folders
(self, progress: 'util.ProgressFuncType' = util.nop)
| 497 | return folder.RemoteFolder(value) |
| 498 | |
| 499 | def pull_folders(self, progress: 'util.ProgressFuncType' = util.nop): |
| 500 | """ |
| 501 | Pull the list of folders from the Remote. |
| 502 | |
| 503 | .. note:: If the project has not been opened, it will be opened upon calling this. |
| 504 | |
| 505 | :param progress: Function to call for progress updates |
| 506 | :raises: RuntimeError if there was an error pulling folders |
| 507 | """ |
| 508 | if not self.open(): |
| 509 | raise RuntimeError("Failed to open project") |
| 510 | |
| 511 | if not core.BNRemoteProjectPullFolders(self._handle, util.wrap_progress(progress), None): |
| 512 | raise RuntimeError(util._last_error()) |
| 513 | |
| 514 | def create_folder(self, name: str, description: str, parent: Optional['folder.RemoteFolder'] = None, progress: 'util.ProgressFuncType' = util.nop) -> 'folder.RemoteFolder': |
| 515 | """ |
no test coverage detected