Skip to content

Pop culture not recognized as a valid category #25

@jhaddixcodes

Description

@jhaddixcodes

In the current release of the wrapper, pop culture is not recognized as a valid category and therefore pop culture tossups and bonuses cannot be retrieved using the wrapper. This is problematic because there are questions in the database that are tagged as pop culture questions and therefore can never be converted into a Tossup or Bonus by the wrapper.

To reproduce error:

from qbreader.synchronous import Sync
sync_client = Sync()
sync_client.random_tossup(number=100)

I believe with the current state of main, this isn't a problem as POP_CULTURE is part of the Category enum, but I don't believe that applies to the latest release from about a year ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions