Cannot resolve symbol "__name__"


#1

Just tried to create a logger using a common pattern

import logging
logger = logging.getLogger(__name__)

Datalore reports __name__ as unresolved. Probably a minor issue as it makes little sense to use __name__ in the notebook anyway.


#2

Actually, __name__ is marked as unresolved incorrectly and will return __main__ when called.

I’ll file a new issue for this case, thank you.