Skip to content

Instantly share code, notes, and snippets.



Last active Mar 16, 2019
What would you like to do?
def __init__(self):
# A flag, set after post-processing is finished, to
# avoid an infinite loop.
self.data_submitted = False
# The object to return for conversion to a JSON tree.
# All the parse methods add their results to this
# structure.
self.sports = items.SportsInventory(categories=[])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment