I tried to create EventHub services using python SDK. This is the code:
import predix.admin.app
admin = predix.admin.app.Manifest()
admin.create_eventhub(publish=True, subscribe=True)
However I have the following error:
hon init_eventhub.py WARNING:root:Writing manifest manifest.yml unencrypted. Traceback (most recent call last): File "init_eventhub.py", line 5, in admin.create_eventhub(publish=True, subscribe=True) File "C:\Python27\lib\site-packages\predix\admin\app.py", line 214, in create eventhub eventhub = predix.admin.eventhub.EventHub(**kwargs) AttributeError: 'module' object has no attribute 'eventhub'