Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

        def format_text(data, stream):
    _format_text(data, stream)
        


src/a/w/aws-cli-HEAD/awscli/formatter.py   aws-cli(Download)
    def _format_response(self, response, stream):
        if self._args.query is not None:
            expression = self._args.query
            response = expression.search(response)
        text.format_text(response, stream)

src/a/w/awscli-1.3.8/awscli/formatter.py   awscli(Download)
    def _format_response(self, response, stream):
        if self._args.query is not None:
            expression = self._args.query
            response = expression.search(response)
        text.format_text(response, stream)

src/a/w/aws-cli-HEAD/tests/unit/test_text.py   aws-cli(Download)
    def format_text(self, data, stream=None):
        if stream is None:
            stream = six.StringIO()
        text.format_text(data, stream=stream)
        return stream.getvalue()