awacke1 commited on
Commit
9af4b52
·
1 Parent(s): d8c6bfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ BLOB_STORAGE_CONNECTION_STRING = os.getenv('BLOB_STORAGE_CONNECTION_STRING')
14
  cosmos_client = CosmosClient.from_connection_string(COSMOS_CONNECTION_STRING)
15
  blob_service = BlobServiceClient.from_connection_string(BLOB_STORAGE_CONNECTION_STRING)
16
 
17
- @st.cache(allow_output_mutation=True)
18
  def get_cosmos_client():
19
  return cosmos_client
20
 
 
14
  cosmos_client = CosmosClient.from_connection_string(COSMOS_CONNECTION_STRING)
15
  blob_service = BlobServiceClient.from_connection_string(BLOB_STORAGE_CONNECTION_STRING)
16
 
17
+ @st.cache_data
18
  def get_cosmos_client():
19
  return cosmos_client
20