However, the example code is in this repository:
Hi @alexander.dietz17 - is it possible that GitHub repository is private? Trying to access it gives me a 404: Not Found Error
If it is, and if you don’t want to make it public (totally fine), would you copy/paste some code here into a code block that we can look at?
x.get('foo'), the proxy handles translating that to
x[foo] in Python, so that item lookup still works.
Where this breaks down, as you’ve seen, is in logging.
console.log logs the literal object it sees (the proxy) not the underlying object.
Hopefully we can provide more direct responses once we can see your code. And welcome to the PyScript nucleus!