skip to Main Content

Why isn't ContentSettings cache_control max-age being honored in Azure storage blob via Python?

I can't seem to activate Cache-Control max-age in an Azure storage blob in Python via the following code: contentSettings = ContentSettings(cache_control="max-age=86400") containerClient.upload_blob(blobname, theBytes, length=byteCount, overwrite=True, content_settings=contentSettings) In the web based Azure storage browser, it appears max-age is correctly set: However,…

VIEW QUESTION

Azure – Querying and Inserting records from SQL Server using Python

We are porting some code from SSIS to Python. As part of this project, I'm recreating some packages but I'm having issues with the database access. I've managed to query the DB like this: employees_table = (spark.read .format("jdbc") .option("url", "jdbc:sqlserver://dev.database.windows.net:1433;database=Employees;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.windows.net;loginTimeout=30;")…

VIEW QUESTION
Back To Top
Search