bs4.Declaration.find_parents

Declaration.find_parents(name=None, attrs={}, limit=None, **kwargs)

Returns the parents of this Tag that match the given criteria.