Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.included = included
self.message = None #gets set with the JanusResponse passed from calling function
self.success_status = success_status
self.before_send_hook = before_send_hook
self.include_traceback_in_errors = include_traceback_in_errors
self.error_hook = error_hook
self.include_relationships = include_relationships
self.options_hook = options_hook
self.cached_get_hook = cached_get_hook
self.cached_set_hook = cached_set_hook
self.nest_in_responses = nest_in_responses
if logging:
janus_logger.enable()
else:
janus_logger.disable()