Mongoose Limit Array Size Python Ide