def import_zhmcclient():
"""Lazy initialization for zhmcclient
This function helps in lazy loading zhmclient. The zhmcclient can
otherwise be set to fakezhmcclient for unittest framework
"""
LOG.debug("get_zhmcclient")
requests.packages.urllib3.disable_warnings()
global zhmcclient
if zhmcclient is None:
zhmcclient = importutils.import_module('zhmcclient')
return zhmcclient
评论列表
文章目录