from models import Base


class CardSetOrdering(Base):

    @classmethod
    def table(cls):
        return super().table()('card_set_orderings')

    @classmethod
    def ordered_sets(cls, ordering_id):
        return cls.filter({'ordering_id': ordering_id}).order_by('set_order'
            ).get_field('set_code').run()

e255e1362ba7358acf3bde451dadb21690dc0d8c
<mask token>


class CardSetOrdering(Base):
    <mask token>
    <mask token>

<mask token>


class CardSetOrdering(Base):
    <mask token>

    @classmethod
    def ordered_sets(cls, ordering_id):
        return cls.filter({'ordering_id': ordering_id}).order_by('set_order'
            ).get_field('set_code').run()

<mask token>


class CardSetOrdering(Base):

    @classmethod
    def table(cls):
        return super().table()('card_set_orderings')

    @classmethod
    def ordered_sets(cls, ordering_id):
        return cls.filter({'ordering_id': ordering_id}).order_by('set_order'
            ).get_field('set_code').run()

from models import Base


class CardSetOrdering(Base):

    @classmethod
    def table(cls):
        return super().table()('card_set_orderings')

    @classmethod
    def ordered_sets(cls, ordering_id):
        return cls.filter({'ordering_id': ordering_id}).order_by('set_order'
            ).get_field('set_code').run()
