The OdbAnalysisWarning object stores the description of different warnings encountered during the analysis.
import visualization session.odbData[name].diagnosticData.analysisWarnings[i]
The OdbAnalysisWarning object has members that are similar to the OdbAnalysisError object.