async def METHOD_NAME(self):
    translation_client = DocumentTranslationClient(
        self.endpoint, AzureKeyCredential(self.key)
    )
    blob_service_client = BlobServiceClient(
        self.storage_endpoint,
        credential=self.storage_key
    )
    source_container = await self.create_container(
        blob_service_client,
        container_name=self.storage_source_container_name or "translation-source-container-async",
    )
    target_container = await self.create_container(
        blob_service_client,
        container_name=self.storage_target_container_name or "translation-target-container-async"
    )
    if self.document_name:
        with open(self.document_name, "rb") as doc:
            await source_container.upload_blob(self.document_name, doc)
    else:
        self.document_name = "example_document.txt"
        await source_container.upload_blob(
            name=self.document_name,
            data=b"This is an example translation with the document translation client library"
        )
    print(f"Uploaded document {self.document_name} to storage container {source_container.container_name}")
    source_container_sas_url = self.generate_sas_url(source_container, permissions="rl")
    target_container_sas_url = self.generate_sas_url(target_container, permissions="wl")
    poller = await translation_client.begin_translation(source_container_sas_url, target_container_sas_url, "fr")
    print(f"Created translation operation with ID: {poller.id}")
    print("Waiting until translation completes...")
    result = await poller.result()
    print(f"Status: {poller.status()}")
    print("\nDocument results:")
    async for document in result:
        print(f"Document ID: {document.id}")
        print(f"Document status: {document.status}")
        if document.status == "Succeeded":
            print(f"Source document location: {document.source_document_url}")
            print(f"Translated document location: {document.translated_document_url}")
            print(f"Translated to language: {document.translated_to}\n")
            blob_client = BlobClient.from_blob_url(document.translated_document_url, credential=self.storage_key)
            async with blob_client:
                with open("translated_"+self.document_name, "wb") as my_blob:
                    download_stream = await blob_client.download_blob()
                    my_blob.write(await download_stream.readall())
            print("Downloaded {} locally".format("translated_"+self.document_name))
        elif document.error:
            print("\nThere was a problem translating your document.")
            print(f"Document Error Code: {document.error.code}, Message: {document.error.message}\n")
    await translation_client.close()
    await blob_service_client.close()