Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import nifcloud
class Session(session.Session):
def __init__(self, session_vars=None, event_hooks=None,
include_builtin_handlers=True, profile=None):
super(Session, self).__init__(session_vars, event_hooks,
include_builtin_handlers, profile)
self.user_agent_name = 'nifcloud'
self.user_agent_version = nifcloud.__version__
self.user_agent_extra = 'botocore/%s' % botocore_version
session.Session = Session
def __init__(self, session_vars=None, event_hooks=None,
include_builtin_handlers=True, profile=None):
super(Session, self).__init__(session_vars, event_hooks,
include_builtin_handlers, profile)
self.user_agent_name = 'nifcloud'
self.user_agent_version = nifcloud.__version__
self.user_agent_extra = 'botocore/%s' % botocore_version