Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_output_stream(self, decorated=None):
stream = BytesIO()
return StreamOutput(stream, decorated=decorated)
def get_output_stream(self):
stream = BytesIO()
return StreamOutput(stream, StreamOutput.VERBOSITY_NORMAL, False)
def get_output_stream(self):
stream = BytesIO()
return StreamOutput(stream, StreamOutput.VERBOSITY_NORMAL, False)
def get_output_stream(self):
stream = BytesIO()
return StreamOutput(stream)
def get_output_stream(self, decorated=True, verbosity=StreamOutput.VERBOSITY_NORMAL):
stream = BytesIO()
return StreamOutput(stream, decorated=decorated, verbosity=verbosity)
def get_output_stream(self, decorated=True, verbosity=StreamOutput.VERBOSITY_NORMAL):
stream = BytesIO()
return StreamOutput(stream, decorated=decorated, verbosity=verbosity)
def get_output_stream(self):
stream = BytesIO()
return StreamOutput(stream)