You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes a stack trace, also after manually uploading a schedule that should be OK (application/json) ?
File "/workspace/main.py", line 240, in update_schedule
changes = diff(json.loads(old_content), json.loads(content))
File "/layers/google.python.runtime/python/lib/python3.10/json/__init__.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not dict
Originally posted by @martbhell in #91 (comment)
Hacked around by adding str().repliace("'", '"') in a few places. Feels like it's related to the json dumps vs loads..
The text was updated successfully, but these errors were encountered: