Hi Team, I have below snippet and i want to change...
# help
u
Hi Team, I have below snippet and i want to change it pythonic way. '''
Copy code
# bash_command = "lakectl import --from s3://cxl-source-data/source/cxl-edgeshare/ --to lakefs://cxl-data/main/source/cxl-edgeshare/"
# process = subprocess.Popen(bash_command.split(), stdout=subprocess.PIPE)
# import_output, import_error = process.communicate()
# logger.info("Import Into lakefs Completed")