I have created a Azure function and I am trying to import another function from different file into function_app.py file. But I see when I tried to deploy on Azure function App, deployment shows success but no function is getting displayed.

Vaishnavi More 0 Reputation points
2025-08-25T09:41:03.8733333+00:00

I have subscribed to Flex Plan. And my Azure function contain different helper(python) files from where I am trying to import function into function_app.py. I see that when I comment out below line from my code then my function get's deployed on Azure function app and is displayed under overview tab:

from scripts.metadata_file_processing_worker import process_metadata_file, get_file_name_and_extension

But when I uncomment this line then Deployment center shows success but the function is not listed under overview tab. I have attached the directory structure as well.worker_directory

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.