Gets a class using this session. Args: class_id (str): class id of the requested class Returns: scratchattach.classroom.Classroom: An object representing the requested classroom
(self, class_id)
| 1176 | return self._make_linked_object("id", int(studio_id), studio.Studio, exceptions.StudioNotFound) |
| 1177 | |
| 1178 | def connect_classroom(self, class_id) -> classroom.Classroom: |
| 1179 | """ |
| 1180 | Gets a class using this session. |
| 1181 | |
| 1182 | Args: |
| 1183 | class_id (str): class id of the requested class |
| 1184 | |
| 1185 | Returns: |
| 1186 | scratchattach.classroom.Classroom: An object representing the requested classroom |
| 1187 | """ |
| 1188 | return self._make_linked_object("id", int(class_id), classroom.Classroom, exceptions.ClassroomNotFound) |
| 1189 | |
| 1190 | def connect_classroom_from_token(self, class_token) -> classroom.Classroom: |
| 1191 | """ |
no test coverage detected