Create a new project on the remote (and pull it) :param name: Project name :param description: Project description :return: Reference to the created project :raises: RuntimeError if there was an error
(self, name: str, description: str)
| 383 | raise RuntimeError(util._last_error()) |
| 384 | |
| 385 | def create_project(self, name: str, description: str) -> 'project.RemoteProject': |
| 386 | """ |
| 387 | Create a new project on the remote (and pull it) |
| 388 | |
| 389 | :param name: Project name |
| 390 | :param description: Project description |
| 391 | :return: Reference to the created project |
| 392 | :raises: RuntimeError if there was an error |
| 393 | """ |
| 394 | value = core.BNRemoteCreateProject(self._handle, name, description) |
| 395 | if value is None: |
| 396 | raise RuntimeError(util._last_error()) |
| 397 | return project.RemoteProject(value) |
| 398 | |
| 399 | def push_project(self, project: 'project.RemoteProject', extra_fields: Optional[Dict[str, str]] = None): |
| 400 | """ |