(self, sketch)
Set a client for the streamer.

        Args:
            sketch: an instance of Sketch that is used to communicate
                with the API to upload data.
Set a client for the streamer.
Set a client for the streamer .
def set_sketch(self, sketch):
        """Set a client for the streamer.

        Args:
            sketch: an instance of Sketch that is used to communicate
                with the API to upload data.
        """
        self._sketch = sketch
        self._resource_url = '{0:s}/upload/'.format(sketch.api.api_root)
def set_sketch ( self , sketch ) : self . _sketch = sketch self . _resource_url = '{0:s}/upload/' . format ( sketch . api . api_root )