You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The addNotice API in the cloud interface is:
def addNotice(self, data):
while in the local interface it is:
def addNotice(self, data, key=None):
Code written to make use of the 'key' parameter that works correctly with local polygot fails when running on cloud polyglot
The text was updated successfully, but these errors were encountered:
bpaauwe
changed the title
addNotice in controller class doesn't match API used by local python template
addNotice in controller class doesn't match API used by local python interface
Feb 7, 2020
Looks like currently the polyinterface addNotice() will handle a string message (value) with an optional key, a dictionary with a key and value (msg), or a list of dictionary objects. The pgc_interface addNotice() errors out on anything other than a dict.
The addNotice API in the cloud interface is:
def addNotice(self, data):
while in the local interface it is:
def addNotice(self, data, key=None):
Code written to make use of the 'key' parameter that works correctly with local polygot fails when running on cloud polyglot
The text was updated successfully, but these errors were encountered: