Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
python3-dmapi / usr / lib / python3 / dist-packages / dmapi / __pycache__ / service_auth.cpython-35.pyc
Size: Mime:


èáþ\ã@syddlmZddlmZddlmZddlZej	j
Z
ejeƒZ
dadd„Zdd„ZdS)	é)Úloading)Ú
service_token)ÚlogNcCs
dadS)z For async unit test consistency.N)Ú
_SERVICE_AUTH©rrú4/usr/lib/python3/dist-packages/dmapi/service_auth.pyÚ
reset_globalssrcCss|jƒ}tjjrotsYtjtdtjj	j
ƒatdkrYtjdƒ|St	j
d|dtƒS|S)NÚgroupzQUnable to load auth from [service_user] configuration. Ensure "auth_type" is set.Ú	user_authZservice_auth)Úget_auth_pluginÚCONFZservice_userZsend_service_user_tokenrÚ
ks_loadingZload_auth_from_conf_optionsÚdmapiÚconfrZSERVICE_USER_GROUPÚLOGÚwarningZServiceTokenAuthWrapper)Úcontextr
rrrrs
	r)Z
keystoneauth1rr
rZoslo_logrÚloggingZ
dmapi.confrrrÚ	getLoggerÚ__name__rrrrrrrrÚ<module>s