Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, session_number, encoding='windows-1251'):
self._session_number = session_number
self._library = _library_singleton.get()
self._encoding = encoding
# We need a self._repeated_capability string for passing down to function calls on _Library class. We just need to set it to empty string.
self._repeated_capability = ''
# Store the parameter list for later printing in __repr__
param_list = []
param_list.append("session_number=" + pp.pformat(session_number))
param_list.append("encoding=" + pp.pformat(encoding))
self._param_list = ', '.join(param_list)
self._is_frozen = True
def __init__(self):
self._library = _library_singleton.get()
self._encoding = 'windows-1251'
# Instantiate any repeated capability objects
# Store the parameter list for later printing in __repr__
param_list = []
self._param_list = ', '.join(param_list)
self._is_frozen = True
def __init__(self, session_number, encoding='windows-1251'):
self._session_number = session_number
self._library = _library_singleton.get()
self._encoding = encoding
# We need a self._repeated_capability string for passing down to function calls on _Library class. We just need to set it to empty string.
self._repeated_capability = ''
# Store the parameter list for later printing in __repr__
param_list = []
param_list.append("session_number=" + pp.pformat(session_number))
param_list.append("encoding=" + pp.pformat(encoding))
self._param_list = ', '.join(param_list)
self._is_frozen = True
def __init__(self):
self._library = _library_singleton.get()
self._encoding = 'windows-1251'
# Instantiate any repeated capability objects
# Store the parameter list for later printing in __repr__
param_list = []
self._param_list = ', '.join(param_list)
self._is_frozen = True