© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Minh Nguyen
Hello, I have a problem "TypeError: write_row_in_mongo() takes 1 positional argument but 2 were given" when I run your code
Lorena Gongang
Data enthusiast | Junior Data Engineer | Learning and sharing | Building my online presence.
Hello Minh Nguyen, I know where the problem came from : Just modify write_row_in_mongo and add another parameter, epoch_id. I just changed the article, and you won't get the error after it.