(self, group_id)
Feed group data from a group ID.

        Args:
            group_id (int): the group ID to fetch from the store.

        Raises:
            TypeError: if the group ID does not exist.
Feed group data from a group ID.
Feed group data from a group ID .
def from_saved(self, group_id):
        """Feed group data from a group ID.

        Args:
            group_id (int): the group ID to fetch from the store.

        Raises:
            TypeError: if the group ID does not exist.
        """
        self._resource_id = group_id
        resource_uri = (
            f'sketches/{self._sketch.id}/aggregation/group/{group_id}/')
        resource_data = self.api.fetch_resource_data(resource_uri)

        objects = resource_data.get('objects')
        if not objects:
            raise TypeError('Group ID not found.')

        group_dict = objects[0]
        group_dict['id'] = group_id
        self.from_dict(group_dict)
def from_saved ( self , group_id ) : self . _resource_id = group_id resource_uri = ( f'sketches/{self._sketch.id}/aggregation/group/{group_id}/' ) resource_data = self . api . fetch_resource_data ( resource_uri ) objects = resource_data . get ( 'objects' ) if not objects : raise TypeError ( 'Group ID not found.' ) group_dict = objects [ 0 ] group_dict [ 'id' ] = group_id self . from_dict ( group_dict )