def METHOD_NAME(self):
    # [START create_fr_client_with_key]
    from azure.core.credentials import AzureKeyCredential
    from azure.ai.formrecognizer import FormRecognizerClient
    endpoint = os.environ["AZURE_FORM_RECOGNIZER_ENDPOINT"]
    key = os.environ["AZURE_FORM_RECOGNIZER_KEY"]
    form_recognizer_client = FormRecognizerClient(endpoint, AzureKeyCredential(key))
    # [END create_fr_client_with_key]
    poller = form_recognizer_client.begin_recognize_content_from_url(self.url)
    result = poller.result()