Pull the list of groups from the Remote. .. note:: This function is only available to accounts with admin status on the Remote :param progress: Function to call for progress updates :raises: RuntimeError if there was an error pulling groups
(self, progress: 'util.ProgressFuncType' = util.nop)
| 509 | return result |
| 510 | |
| 511 | def pull_groups(self, progress: 'util.ProgressFuncType' = util.nop): |
| 512 | """ |
| 513 | Pull the list of groups from the Remote. |
| 514 | |
| 515 | .. note:: This function is only available to accounts with admin status on the Remote |
| 516 | |
| 517 | :param progress: Function to call for progress updates |
| 518 | :raises: RuntimeError if there was an error pulling groups |
| 519 | """ |
| 520 | if not core.BNRemotePullGroups(self._handle, util.wrap_progress(progress), None): |
| 521 | raise RuntimeError(util._last_error()) |
| 522 | |
| 523 | def create_group(self, name: str, usernames: List[str]) -> 'group.Group': |
| 524 | """ |
no outgoing calls
no test coverage detected