parsers/MultiData.py
def genChannelIds(self, channel:str) -> tuple:
        """Generator of ids present in multiData in particular channel (i.e. 'type' tag).

        :param channel:
        :return: Tuple with current channel and id, if such id present in multiData.
        """
        if self.settingsReader.check() and self.check():
            channelZeroName = self.settingsReader.substVersatileChannels(channel)
            typeList = self.settingsReader.getTypes(channelZeroName)
            #на случай если нет комбинированного типа в настройках
            if not len(typeList):
                typeList = self.settingsReader.getTypes(channel)
            for file in typeList:
                id = file.get('id')
                if self.hasChannelById(channel, id):
                    yield (channel, id)
Generator of ids present in multiData in particular channel (i.e. 'type' tag).

        :param channel:
        :return: Tuple with current channel and id, if such id present in multiData.
        
Generator of ids present in multiData in particular channel .
Generator of ids present in multiData in particular channel .
def genChannelIds(self, channel:str) -> tuple:
        if self.settingsReader.check() and self.check():
            channelZeroName = self.settingsReader.substVersatileChannels(channel)
            typeList = self.settingsReader.getTypes(channelZeroName)
            if not len(typeList):
                typeList = self.settingsReader.getTypes(channel)
            for file in typeList:
                id = file.get('id')
                if self.hasChannelById(channel, id):
                    yield (channel, id)
def genChannelIds ( self , channel : str ) -> tuple : if self . settingsReader . check ( ) and self . check ( ) : channelZeroName = self . settingsReader . substVersatileChannels ( channel ) typeList = self . settingsReader . getTypes ( channelZeroName ) if not len ( typeList ) : typeList = self . settingsReader . getTypes ( channel ) for file in typeList : id = file . get ( 'id' ) if self . hasChannelById ( channel , id ) : yield ( channel , id )
Generator of ids present in multiData in particular channel (i.e.
Generator of ids present in multiData in particular channel ( i . e .
"""Generator of ids present in multiData in particular channel (i.e. 'type' tag).

        :param channel:
        :return: Tuple with current channel and id, if such id present in multiData.
        """ #на случай если нет комбинированного типа в настройках
Tuple with current channel and id, if such id present in multiData.
Tuple with current channel and id if such id present in multiData .
self
channel
str
None