azure

Azure Cognitive Search:

Azure Cognitive Search: Question: I have recently upgraded my Azure Cognitive Search instance so it has semantic search. However, when I add query_type=semantic, in the client search I get the following stacktrace… Traceback (most recent call last): File "call_semantic_search.py", line 34, in <module> c, r = main(search_text=’what is a ‘) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "call_semantic_search.py", line 28, …

Total answers: 2

Unable to successfully divide the JSON file using python in DataBricks

Unable to successfully divide the JSON file using python in DataBricks Question: Hi I am writing a DATABRICKS Python code which picks huge JSON file and divide into two part. Which means from index 0 or "reporting_entity_name" till index 3 or "version" on one file and from index 4 in other file till the end. …

Total answers: 1

Host header differs from Target in handshake request for WebSocket

Host header differs from Target in handshake request for WebSocket Question: I am intercepting WebSocket traffic from the garage door opener app called Linear (iOS/Android) and it looks to use Azure guessing by the domain names (trafficmanager.net, cloudapp.net, etc…). When it makes it’s initial HTTP request to upgrade to WebSocket, it sends this request to …

Total answers: 1

How to run an async Python Event-Hub trigger Azure Function using EventHubConsumerClient class?

How to run an async Python Event-Hub trigger Azure Function using EventHubConsumerClient class? Question: I’m trying to develop an event-hub trigger azure function that could receive events from a first event-hub and send these events to a second event-hub. As additional features I’d like my function to be asynchronous and use store checkpoints in an …

Total answers: 1

dbx execute install from azure artifacts / private pypi

dbx execute install from azure artifacts / private pypi Question: I would like to use dbx execute to run a task/job on an azure databricks cluster. However, i cannot make it install my code. More Details on the situation: Project A with a setup.py is dependent on Project B Project B is also python based …

Total answers: 1

ConditionNotMet error while trying to download azure blob using python

ConditionNotMet error while trying to download azure blob using python Question: I was trying to download azure blob from python using the azure.storage.blob BlobServiceClient. There are various blobs inside the containers which are big in size, the error happens when the code is trying to download files around 100mb or higher. The code works fine …

Total answers: 1

Azure ML Pipeline prohibit file upload

Azure ML Pipeline prohibit file upload Question: When creating a Pipeline with Python SDK V2 for Azure ML all contents of my current working directory are uploaded. Can I blacklist some files being upload? E.g. I use load_env(".env") in order to read some credentials but I don’t wan’t it to be uploaded. Directory content: ./src …

Total answers: 1

Azure AKS/Container App can't access Key vault using managed identity

Azure AKS/Container App can't access Key vault using managed identity Question: I have a docker container python app deployed on a kubernetes cluster on Azure (I also tried on a container app). I’m trying to connect this app to Azure key vault to fetch some secrets. I created a managed identity and assigned it to …

Total answers: 3

how to add LogAnalyticsWorkSpace extension to VM using Python SDK in Azure

how to add LogAnalyticsWorkSpace extension to VM using Python SDK in Azure Question: I have created Log Analytics workspace in azure. Now to want to attach it as an extension to VM using Python sdk. I have followed the documentation and getting error as follow. class ‘azure.core.exceptions.HttpResponseError’> occurred. Can someone help me in this please. …

Total answers: 1

Azure Database for PostgreSQL flexible server Slow with Django

Azure Database for PostgreSQL flexible server Slow with Django Question: Am using Django to connect to Azure Database for PostgreSQL flexible server but it’s very slow, below are the specs of the server : Compute + storage Pricing tier Memory Optimized Compute size Standard_E4s_v3 (4 vCores, 32 GiB memory, 6400 max iops) Storage 32 GiB …

Total answers: 1