79438673

Date: 2025-02-14 07:58:57
Score: 1.5
Natty:
Report link

Are you sure that uploaded file get dictionary from which you are getting 'new' key and try to get the values() from it.

First of all check the type of "change" that is it dictionary or tuple, if yes it is dictionary then do the given below code otherwise it will show error every time.

uploaded_file = list(change['new'].values())[0]

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kunalsinh