serverless / serverless/examples
AWS-PYTHON-REST-API-WITH-DYNAMODB ModuleNotFoundError
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 11.5k
- Forks
- 4.4k
- Avg merge
- 2h 55m
- Merged PRs (30d)
- 3
Description
All the required dependencies are installed. Tried running the lambda functions locally using 'serverless-offline'.
Tried hitting the endpoint GET | http://localhost:3000/dev/todos
Got the following error
ModuleNotFoundError: No module named 'todos\list'
Please note absolutely nothing was changed in the code.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin in the AWS-PYTHON-REST-API-WITH-DYNAMODB example by running the Lambda functions with serverless-offline and requesting GET http://localhost:3000/dev/todos. Inspect the local module resolution around the reported todos\list path; done means the endpoint runs without ModuleNotFoundError and returns its expected response.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- api, backend, cloud, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100