```py def get_spell(self, attributes:Sequence[]=None): if attributes is None: from random import choice return choice(list(self.spells)) else: from random import choice return choice( [spell for spell in self.spells if all(attribute in spell.attributes for attribute in attributes)]) ```i mean i got this cause i want to either choose a total random or one fitting with the attributes
what is self.spells?