title: How do I set an expiration date on a file I create in the Azure Data lake using the Python SDK?
body: <p>I'm using Python 3.8 and Azure data lake Gen 2.  I want to set an expiration time for a file I save on the data lake.  Following this -- azure.datalake.store.core.AzureDLFileSystem class | Microsoft Docs, I tried the below</p>
  <pre><code>            file_client = directory_client.create_file(filename)
              file_client.upload_data(
                  data,
                  overwrite=True
              )
              ts = time.time() + 100
              file_client.set_expiry(path=path, expire_time=ts)
  </code></pre>
  <p>but am getting the error</p>
  <pre><code>AttributeError: 'DataLakeFileClient' object has no attribute 'set_expiry'
  </code></pre>
  <p>What's the proper way to set an expiration time when creating a file on the data lake?</p>