I am working in Databricks/Python and I have a byte object given by a parameter "byte_object" and I want to move it to a S3 location s3_path. For a saved object in DBFS storage with path dbfs_path it can be done like:
dbutils.fs.mv(dbfs_path, s3_path)
But my problem is that I want to move a byte object to S3, given by my parameter "byte_object" in Python. Not a file stored in DBFS, any ideas of how to do that?