I am running across a strange Python error on Visual Studio Code:
comp:project mia$ python3 restapi.py
Traceback (most recent call last):
File "restapi.py", line 2, in <module>
from adapters import JSONAdapter
File "/Users/me/project/adapters.py", line 7
"""
^
IndentationError: expected an indented block
Code:
from flask import Flask, jsonify, request
from adapters import JSONAdapter
from chatbot import Chatbot
Screenshot:
Clicking on the small red triangle shows this:
That's code that I have deleted now. And yes, I saved the file before executing it, and I even opened the file with another editor to make sure only those three lines were in the file.
However, I don't see an indentation issue on line 7 even with the lines with the red background.
Any clue what's going on here?

