Skip to content

Commit 6a2c00c

Browse files
author
Glenn Gailey
committed
fixed merge conflict in Python reference
2 parents 7d8b065 + 9a36afc commit 6a2c00c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/azure-functions/functions-reference-python.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,16 @@ The recommended folder structure for a Python Functions project looks like the f
6060

6161
```
6262
__app__
63-
| - MyFirstFunction
63+
| - my_first_function
6464
| | - __init__.py
6565
| | - function.json
6666
| | - example.py
67-
| - MySecondFunction
67+
| - my_second_function
6868
| | - __init__.py
6969
| | - function.json
70-
| - SharedCode
71-
| | - myFirstHelperFunction.py
72-
| | - mySecondHelperFunction.py
70+
| - shared_code
71+
| | - my_first_helper_function.py
72+
| | - my_second_helper_function.py
7373
| - host.json
7474
| - requirements.txt
7575
tests
@@ -84,10 +84,10 @@ The main project folder (\_\_app\_\_) can contain the following files:
8484

8585
Each function has its own code file and binding configuration file (function.json).
8686

87-
Shared code should be kept in a separate folder in \_\_app\_\_. To reference modules in the SharedCode folder, you can use the following syntax:
87+
Shared code should be kept in a separate folder in \_\_app\_\_. To reference modules in the shared\_code folder, you can use the following syntax:
8888

8989
```python
90-
from __app__.SharedCode import myFirstHelperFunction
90+
from __app__.shared_code import my_first_helper_function
9191
```
9292

9393
To reference modules local to a function, you can use the relative import syntax as follows:

0 commit comments

Comments
 (0)