Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def bulk_uri(self, num):
"""The URL that hosts the bulk file
Args:
num (int): The index of the object in the `data` key
Returns:
string: A URI to download the compressed data
"""
super(BulkData, self)._checkForTupleKey('data', num, 'uri')
return self.scryfallJson['data'][num]['uri']