Azure-Functions icon indicating copy to clipboard operation
Azure-Functions copied to clipboard

In the Code + Test tab, the drop down menu doesn't show the subdirectories

Open mo-soliman opened this issue 3 years ago • 7 comments

My Azure function project structure is as follows:

├── <Function-name>
│       ├── __init__.py
│       ├── function.json
│       ├── sample.dat
│       └── <sub-directory>
│                ├── file1.txt
│                └── file2.txt
├── .gitignore
├── .funcignore
├── host.json
└── requirements.txt

Problem: The sub-directory is not visible in the Code + Test tab.

Details:

  • The function is successfully deployed and runs properly, however when I go to the Code + Test tab to navigate the files, the sub-directory is not visible.
  • I even tried using Kudu and navigated to <Function-App-name>.scm.azurewebsites.net/wwwroot/ but got no results (Empty page).
  • Additional info: the code in __init.py__ uses the contents of the sub-directory, so this means the sub directory is deployed successfully, but I just can't see/access it.

Is there any way I can access the sub-directory contents?

FUNCTIONS_EXTENSION_VERSION = ~4 FUNCTIONS_WORKER_RUNTIME = python

mo-soliman avatar Jan 13 '22 14:01 mo-soliman

Hi @mo-soliman , Thank you for your feedback! We will check for the possibilities internally and update you with the findings.

v-bbalaiagar avatar Jan 17 '22 16:01 v-bbalaiagar

Hi @pragnagopa , Could you please take a look at this issue.

v-bbalaiagar avatar Feb 07 '22 16:02 v-bbalaiagar

@mo-soliman - Do let us know which Sku your app is using - Linux Premium / Consumption / Dedicated

Tagging @pgombar as FYI

pragnagopa avatar Feb 08 '22 15:02 pragnagopa

@pragnagopa Consumption

mo-soliman avatar Feb 19 '22 23:02 mo-soliman

Any update on this issue? I'm facing the same problem but with .Net 6 isolated function image

Phanindra34 avatar Sep 13 '22 01:09 Phanindra34