(self, part)
Query the API for a specific data part.

        Build a query and execute it.  Update internal storage to reflect the new data.  Note:
        access to the data via attributes will not update until _update_attributes() is called.

        :param part: part string for the API query.
Query the API for a specific data part.
Query the API for a specific data part .
def _fetch(self, part):
        """Query the API for a specific data part.

        Build a query and execute it.  Update internal storage to reflect the new data.  Note:
        access to the data via attributes will not update until _update_attributes() is called.

        :param part: part string for the API query.

        """
        part_string = f"id,{part}"

        # get a raw listResponse from youtube
        response = Query(
            youtube=self.youtube,
            endpoint=self.ENDPOINT,
            api_params={'part': part_string, 'id': self.id}
        ).execute()

        # get the first resource item and update the internal data storage
        item = response['items'][0]
        self._data.update(item)
def _fetch ( self , part ) : part_string = f"id,{part}" # get a raw listResponse from youtube response = Query ( youtube = self . youtube , endpoint = self . ENDPOINT , api_params = { 'part' : part_string , 'id' : self . id } ) . execute ( ) # get the first resource item and update the internal data storage item = response [ 'items' ] [ 0 ] self . _data . update ( item )