Interesting idea. It seems like zodb (https://zodb.org) might enable some similar things for python - by simply being an object database?
Is it possible to mix typescript and python steps?