Jason
04/12/2022, 7:13 PMsrc/
├─ services/
│ ├─ folderA/
│ │ ├─ fileA.py
│ │ ├─ Pipfile
stacks/
├─ PythonStack.ts
Pipfile
The api definition has:
handler: '/services/folderA/fileA.main',
runtime: 'python3.8',
srcPath: 'src',
The error is Runtime.ImportModuleError: Unable to import module '/services/folderA/fileA': No module named '/services/folderA/fileA'
I'm guessing my srcPath
is incorrect? What should it be instead? Also the two Pipfile's are identical, I'm assuming I don't need both, where should it live?Jason
04/12/2022, 7:30 PMhandler: '/fileA.main',
runtime: 'python3.8',
srcPath: 'src/services/folderA',
also no buenoJason
04/12/2022, 7:38 PM/
on the aboveFrank