Cannot resolve symbol "__name__"

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.

1 Like

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

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

1 Like