from the python shell i am unable to launch data collector
below options i have tried
- from streamsets.sdk import DataCollector
dc = DataCollector('https://localhost:18630')
error : None object has no attribute use_websocket_tunning
2.from streamsets.sdk import DataCollector,ControlHub
sch = ControlHub(<SCH URL>, credential_id=<credential id>, token=<token>)pipeline_builder = sch.get_pipeline_builder(engine_type='data_collector', engine_url=<SDC URL>)
in the above step, i have given engine_url by login into streamsets and under engine tab the active i gave and i am getting below error
error : instnace is not in list