It looks like the actual problem is that the "get_remote()" function does not return the value of the "access-network" parameter. I've modified the following part of the code ("hooks/relations/mysql-shared/requires.py"):
2017-10-06 11:00:41 INFO shared-db-relation-changed <charms.reactive.relations.Conversation object at 0x7f544009d080>
2017-10-06 11:00:41 INFO shared-db-relation-changed None
2017-10-06 11:00:41 INFO shared-db-relation-changed None
It looks like the actual problem is that the "get_remote()" function does not return the value of the "access-network" parameter. I've modified the following part of the code ("hooks/ relations/ mysql-shared/ requires. py"):
@hook( '{requires: mysql-shared} -relation- changed' ) ion()) remote( 'access- network' )) remote( 'access_ network' ))
def changed(self):
conv = self.conversation()
print (self.conversat
print (conv.get_
print (conv.get_
and this is the output I'm getting:
2017-10-06 11:00:41 INFO shared- db-relation- changed <charms. reactive. relations. Conversation object at 0x7f544009d080> db-relation- changed None db-relation- changed None
2017-10-06 11:00:41 INFO shared-
2017-10-06 11:00:41 INFO shared-