To get rid of this you need to remove all print() statements in your code and replace them with self.logger.info
0
The best way to do that is during the instantiation of the mapper class. You need to create a new init method that takes a logger and every thing else. Then you need to instantiate self.logger so you can then use it in your method. then you need to call super().init with all the other needed values. Hope that makes sense.
—
Show more results
postcomments