We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specifically, nodedefid in PGC and node_def_id in polyinterface.
The text was updated successfully, but these errors were encountered:
The difference is introduced by the respective addNode() methods in the controller class: Polyglot:
def addNode(self, node): """ Add a node to the NodeServer :param node: Dictionary of node settings. Keys: address, name, node_def_id, primary, and drivers are required. """ LOGGER.info('Adding node {}({})'.format(node.name, node.address)) message = { 'addnode': { 'nodes': [{ 'address': node.address, 'name': node.name, 'node_def_id': node.id, 'primary': node.primary, 'drivers': node.drivers, 'hint': node.hint }] } } self.send(message)
PGC:
def addNode(self, node): """ Add a node to the NodeServer :param node: Dictionary of node settings. Keys: address, name, nodedefid, primary, and drivers are required. """ LOGGER.info('Adding node {}({})'.format(node.name, node.address)) message = { 'addnode': { 'address': node.address, 'name': node.name, 'nodedefid': node.id, 'primary': node.primary, 'drivers': node.drivers, 'isController': True if hasattr(node, 'isController') else False } } if node.hint is not None: message['addnode']['hint'] = node.hint self.send(message)
Sorry, something went wrong.
No branches or pull requests
Specifically, nodedefid in PGC and node_def_id in polyinterface.
The text was updated successfully, but these errors were encountered: