All Questions
5,677 questions
-1
votes
0
answers
74
views
Azure Function App -Calling a function in another file from function_app.py
Very simply!
I have a function app - function_app.py, trigger.py and init.py in the root
Its my first Azure Function App.
if i run the two files separately, function_app.py, trigger.py, they both ...
-2
votes
1
answer
59
views
Azure App Service with [Linux-based Python 3.11]: OSError [Errno 28] No space left on device [closed]
All of a sudden, my Azure App Service (Linux-based, Python 3.11) started throwing the following error:
OSError: [Errno 28] No space left on device
This occurred at the following code location:
with ...
0
votes
1
answer
43
views
How can I log API POST requests from Azure Databricks with payloads, responses, and handshake validation in Python?
I'm working in Azure Databricks and need to send data to an external API via POST requests using Python. However, there's a client requirement to implement a logging mechanism that:
Logs the payload ...
0
votes
1
answer
54
views
How to configure uv to use azure package registry
My current .netrc
machine pkgs.dev.azure.com
login repo1
password <PAT1>
machine pkgs.dev.azure.com
login repo2
password <PAT2>
Part of pyproject.toml
...
[[tool.uv.index]...
0
votes
1
answer
91
views
How can I deploy a fine-tuned GPT model in Azure via Python without using a token (e.g., using an endpoint key instead)?
I follow Azure's tutorial on fine-tuning GPT. Here is the code for the deployment phase:
# Deploy fine-tuned model
import json
import requests
token = '[redacted]'
subscription = '[redacted]'
...
0
votes
1
answer
75
views
Cannot connect to Azure signalr from my python backend code
I want to send a message to my Azure SignalR using. I am using 'CommunicationIdentityClient' to get the acess token. But when I try to do
identity = client.create_user()
I am getting 403 error.
How ...
0
votes
1
answer
98
views
Azure Function Blob Trigger using Python getting stuck while running at Host lock lease acquired by instance ID '000000000000000000000000055662B6'
I am new to azure functions.I have written in python
I am using blob Trigger but it gets stuck at
Host lock lease acquired by instance ID '000000000000000000000000055662B6'.
some forums say init.py is ...
0
votes
1
answer
37
views
Cannot connect to azure pubsub group from my streamlit app
I have a streamlit with connect button. On clicking the connect button it should create a connection to azure pubsub. But I am getting the following error.
SendMessageError: Failed to send message.
...
0
votes
1
answer
130
views
How to Monitor Azure Automation Python Runbook Status via Python Code?
I'm looking for a way to monitor the status of an Azure Automation Python runbook through code, so I can create a function to send alerts using a specific template like this:
Azure Automation Runbook ...
0
votes
1
answer
46
views
Feasibility of Dynamically Reusing Common user defined functions Across Multiple DLT Notebooks
I'm exploring ways to enable dynamic reusability of common user defined functions across multiple notebooks in a DLT (Delta Live Tables) pipeline. The goal is to avoid duplicating code and maintain a ...
0
votes
1
answer
127
views
How to authenticate a Python package between two repos in GitHub and deploy
We have a private utility repo in GitHub and we would like to be able to install this package with a GitHub Actions. When developing locally I have created a ssh key, uploaded the public key to deploy ...
1
vote
1
answer
25
views
How to update an existing enrollment in Azure DPS?
I'm having a really hard time trying to update an existing enrollment in Azure DPS, ie. in the event of having lost the symmetric keys and generating new ones to be added to the existing enrollment.
...
0
votes
1
answer
58
views
Handle cosmos DB connection in Function apps
I have a singleton class to instance the connection to az cosmos DB
functions/cosmos_client.py
from azure.cosmos import CosmosClient, exceptions
import threading
import json
import os
class ...
0
votes
1
answer
76
views
How to send emails via Outlook client that includes user's email signatures?
I'm currently using MS Graph API to send emails, but this doesn't include email signatures. I have explored/me/mailBoxSettings API to check for signatures, but it doesn't have any info about ...
1
vote
1
answer
105
views
Python flask server 405 error for a specific path when hosted on Azure, works fine locally
I'm building a flask app to process images uploaded from a mobile device, before sending results back to the mobile app. I've successfully deployed the flask app on Azure, and can confirm it works ...