skip to Main Content

Python Error when importing azure-eventhub on Mac Monterey

I am trying to import following: from azure.eventhub import EventData from azure.eventhub.aio import EventHubProducerClient from azure.eventhub.exceptions import EventHubError I get error: from azure.eventhub import EventData Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/azure/eventhub/__init__.py", line 5,…

VIEW QUESTION

Staging deployment with Bitbucket pipeline and Azure Static Web App

I could successfully deploy my project into the production environment using the provided documentation https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/static-web-apps/bitbucket.md pipelines: branches: main: - step: name: Deploy to test deployment: test script: - pipe: microsoft/azure-static-web-apps-deploy:main variables: APP_LOCATION: '$BITBUCKET_CLONE_DIR' OUTPUT_LOCATION: '$BITBUCKET_CLONE_DIR/dist' API_TOKEN: $deployment_token​ But there are…

VIEW QUESTION

Cannot list Approvals in Azure using the REST API

I'm using the GET https://dev.azure.com/{organization}/{project}/_apis/pipelines/approvals?api-version=7.1-preview.1 call I know that project and organization is correct, since I'm making other calls that work as expected. The above call should, according to the documentation list all the approvals, but I'm getting: Query for…

VIEW QUESTION
Back To Top
Search