How to write ObjectId value using Spark connector 10.1 using Pyspark?

Hi @JTBS is it resolve converting string into objectId while updating into db