What I’m trying to do:
I’m trying to find the best way to import a module from the client_code that works both in a local vscode environment, and on the cloud version of anvil.
What I’ve tried and works, but is not very convenient
try:
from ..models import CustomClass
except ImportError:
from ...client_code.models import CustomClass
Is there a more elegant way to tackle this issue?