<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div class="y_msg_container"><div id="yiv7202667046"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span>Hi all,</span></div><div style="background-color:transparent;"><span><div style="background-color:transparent;"><br></div><div style="background-color:transparent;">I have been trying to add a new table to the database. Now, I have created </div><div style="background-color:transparent;">the table and I am going through conductor API to
populate/update it. I have </div><div style="background-color:transparent;">defined some function to achieve the task. There function are defined in conductor </div><div style="background-color:transparent;">and db api, along with in conductor.manage and db.sqlalchemy.api. When I try </div><div style="background-color:transparent;">to run the system it says </div><div style="background-color:transparent;"><span style="background-color:transparent;"><br></span></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;"><span style="background-color:transparent;"> AttributeError: 'ConductorAPI' object </span><span style="background-color:transparent;">has no attribute 'xxxxxx'</span></div><div style="background-color:transparent;"><br></div><div style="background-color:transparent;">while the function is properly defined
in Conductor API as well as manager and </div><div style="background-color:transparent;">db.API. I back traced the flow of the code and it looks like the code reaches till</div><div style="background-color:transparent;">conductor.api. The function at the conductor API is defined as:</div><div style="background-color:transparent;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">#In class LocalAPI</div><div style="background-color:transparent;"><div style="background-color:transparent;">def xxxxxx(self, context, node_id, values):</div><div style="background-color:transparent;"> return self._manager.xxxxxx(context, node_id, values)</div></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style:
normal;"><br></div><div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new roman', 'new york', times, serif; font-style: normal;">Now, after this it gives the error. Though the function is present in conductor.manager.</div><div style="background-color:transparent;">Please help me find out why am I getting this
error.</div></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">Thanks</div><div><font class="yiv7202667046Apple-style-span" color="#9E8FA9" style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">~Peeyush Gupta</font></div></div></div></div><br><br></div> </div> </div> </div></body></html>