Describe the bug
running testcontainers in a pytest using a with statement I get the following error
@wait_container_is_ready()
def _connect(self) -> MongoClient:
return MongoClient(self.get_connection_url())
E TypeError: object.new() takes exactly one argument (the type to instantiate)
Just wondering if anyone else has encountered this