Create a new cube for the current user. Args: cube_name (str): Name of the cube. cube_path (str, optional): Path to the cube. cube_id (str, optional): Custom cube ID. Returns: str: The created cube ID.
(
self,
cube_name: str,
owner_id: str,
cube_path: str | None = None,
cube_id: str | None = None,
)
| 439 | ] |
| 440 | |
| 441 | def create_cube_for_user( |
| 442 | self, |
| 443 | cube_name: str, |
| 444 | owner_id: str, |
| 445 | cube_path: str | None = None, |
| 446 | cube_id: str | None = None, |
| 447 | ) -> str: |
| 448 | """Create a new cube for the current user. |
| 449 | |
| 450 | Args: |
| 451 | cube_name (str): Name of the cube. |
| 452 | cube_path (str, optional): Path to the cube. |
| 453 | cube_id (str, optional): Custom cube ID. |
| 454 | |
| 455 | Returns: |
| 456 | str: The created cube ID. |
| 457 | """ |
| 458 | return self.user_manager.create_cube(cube_name, owner_id, cube_path, cube_id) |
| 459 | |
| 460 | def register_mem_cube( |
| 461 | self, |
no test coverage detected