On some functions with type hint, when many type can be return, and if None is available
(method) get_instance: (config_dict: Unknown) -> Self@DBConnector | None
if it use it
db_obj = DBConnector.get_instance(configUtil.config)
connection = db_obj.get_connection()
db_obj.get_connection() is in red, and the message when i mouse over is
Cannot access member "get_connection" for type "None" Member "get_connection" is unknownPylancereportGeneralTypeIssues
I tried to find content on this, but found nothing