{'Lulaj': {'name': 'Lulaj',
'number': '1',
'time_on_field': 290.1697812528445,
'plusminus': -5},
'Aloi': {'name': 'Aloi', 'number': '2', 'time_on_field': 0.0, 'plusminus': 0},
'Baldassarri': {'name': 'Baldassarri',
'number': '4',
'time_on_field': 1192.4754460553916,
'plusminus': 22},
'Di Francesco': {'name': 'Di Francesco',
'number': '5',
'time_on_field': 0.0,
'plusminus': 0},
'Colotti': {'name': 'Colotti',
'number': '8',
'time_on_field': 1168.2868028968492,
'plusminus': -2},
'Pentucci': {'name': 'Pentucci',
'number': '9',
'time_on_field': 1970.3179798255615,
'plusminus': 5},
'Perez Da Rold': {'name': 'Perez Da Rold',
'number': '10',
'time_on_field': 2242.9886225668247,
'plusminus': 6},
'Dusels': {'name': 'Dusels',
'number': '12',
'time_on_field': 0.0,
'plusminus': 0},
'Manna': {'name': 'Manna',
'number': '13',
'time_on_field': 0.0,
'plusminus': 0},
'Diana': {'name': 'Diana',
'number': '14',
'time_on_field': 978.7033367548032,
'plusminus': -11},
'Matteucci': {'name': 'Matteucci',
'number': '16',
'time_on_field': 0.0,
'plusminus': 0},
'Jareci': {'name': 'Jareci',
'number': '16',
'time_on_field': 1613.7010399738338,
'plusminus': 3},
'Campana': {'name': 'Campana',
'number': '21',
'time_on_field': 967.7127506132971,
'plusminus': -14},
'Marcantognini': {'name': 'Marcantognini',
'number': '34',
'time_on_field': 1575.6442400605952,
'plusminus': 11}}
['Aloi', 'Baldassarri', 'Campana', 'Colotti', 'Di Francesco', 'Diana', 'Jareci', 'Lulaj', 'Manna', 'Marcantognini', 'Pentucci', 'Perez Da Rold']
['Lulaj', 'Aloi', 'Baldassarri', 'Di Francesco', 'Colotti', 'Pentucci', 'Perez Da Rold', 'Manna', 'Diana', 'Jareci', 'Campana', 'Marcantognini']
{'Roli': {'name': 'Roli',
'number': '4',
'year': '2004',
'fouls': 0,
'points': 6},
'Reiner': {'name': 'Reiner',
'number': '5',
'year': '1994',
'fouls': 0,
'points': 0},
'Curione': {'name': 'Curione',
'number': '8',
'year': '1994',
'fouls': 3,
'points': 15},
'Benedetti': {'name': 'Benedetti',
'number': '10',
'year': '1993',
'fouls': 2,
'points': 6},
'Savino': {'name': 'Savino',
'number': '11',
'year': '2003',
'fouls': 3,
'points': 0},
'Bergami': {'name': 'Bergami',
'number': '12',
'year': '1997',
'fouls': 3,
'points': 5},
'Carlone': {'name': 'Carlone',
'number': '14',
'year': '2005',
'fouls': 0,
'points': 0},
'Martini': {'name': 'Martini',
'number': '15',
'year': '1996',
'fouls': 4,
'points': 4},
'Naldi': {'name': 'Naldi',
'number': '18',
'year': '2001',
'fouls': 2,
'points': 13},
'Degli Esposti': {'name': 'Degli Esposti',
'number': '20',
'year': '1999',
'fouls': 4,
'points': 15},
'Santini': {'name': 'Santini',
'number': '21',
'year': '1997',
'fouls': 1,
'points': 5},
'Febbo': {'name': 'Febbo',
'number': '23',
'year': '2005',
'fouls': 2,
'points': 12}}
['Benedetti', 'Bergami', 'Carlone', 'Curione', 'Degli Esposti', 'Febbo', 'Martini', 'Naldi', 'Reiner', 'Roli', 'Santini', 'Savino']
--------------------------------------------------------------------------- KeyError Traceback (most recent call last) File /opt/conda/lib/python3.10/site-packages/PIL/JpegImagePlugin.py:639, in _save(im, fp, filename) 638 try: --> 639 rawmode = RAWMODE[im.mode] 640 except KeyError as e: KeyError: 'RGBA' The above exception was the direct cause of the following exception: OSError Traceback (most recent call last) File /opt/conda/lib/python3.10/site-packages/PIL/Image.py:643, in Image._repr_image(self, image_format, **kwargs) 642 try: --> 643 self.save(b, image_format, **kwargs) 644 except Exception as e: File /opt/conda/lib/python3.10/site-packages/PIL/Image.py:2413, in Image.save(self, fp, format, **params) 2412 try: -> 2413 save_handler(self, fp, filename) 2414 except Exception: File /opt/conda/lib/python3.10/site-packages/PIL/JpegImagePlugin.py:642, in _save(im, fp, filename) 641 msg = f"cannot write mode {im.mode} as JPEG" --> 642 raise OSError(msg) from e 644 info = im.encoderinfo OSError: cannot write mode RGBA as JPEG The above exception was the direct cause of the following exception: ValueError Traceback (most recent call last) File /opt/conda/lib/python3.10/site-packages/IPython/core/formatters.py:344, in BaseFormatter.__call__(self, obj) 342 method = get_real_method(obj, self.print_method) 343 if method is not None: --> 344 return method() 345 return None 346 else: File /opt/conda/lib/python3.10/site-packages/PIL/Image.py:661, in Image._repr_jpeg_(self) 656 def _repr_jpeg_(self): 657 """iPython display hook support for JPEG format. 658 659 :returns: JPEG version of the image as bytes 660 """ --> 661 return self._repr_image("JPEG") File /opt/conda/lib/python3.10/site-packages/PIL/Image.py:646, in Image._repr_image(self, image_format, **kwargs) 644 except Exception as e: 645 msg = f"Could not save to {image_format} for display" --> 646 raise ValueError(msg) from e 647 return b.getvalue() ValueError: Could not save to JPEG for display
False
{'message': 'Bad credentials',
'documentation_url': 'https://docs.github.com/rest',
'status': '401'}
--------------------------------------------------------------------------- KeyError Traceback (most recent call last) Cell In[18], line 1 ----> 1 j = json.loads(base64.b64decode(data['content']).decode('utf-8')) 2 j['time'] = '20:30' 3 j KeyError: 'content'