Beispiel #1
0
 def get_connectors(self):
     if hasattr(self, "conns"):
         return self.conns
     self.conns = super().get_connectors() + \
         (
         Connector(ConnectionType.BOOL, self, True, name="value"),
     )
     return self.conns
Beispiel #2
0
 def get_connectors(self):
     if hasattr(self, "conns"):
         return self.conns
     self.conns = super().get_connectors() + \
         (
         Connector(ConnectionType.PROPAGATE, self, False,
                   name="inb"+self.get_snippet_name()),
     )
     return self.conns
Beispiel #3
0
 def get_connectors(self):
     if self.connectors:
         return self.connectors
     else:
         self.connectors = [
             Connector(ConnectionType[conn_spec["type"]],
                       self,
                       is_inp=conn_spec['input'] == "true",
                       name=conn_spec["name"])
             for conn_spec in self.connector_data
         ]
         return self.connectors
Beispiel #4
0
 def get_connectors(self):
     return (Connector(ConnectionType.BOOL, self, False, name="value"),
             )  # + super().get_connectors()
Beispiel #5
0
 def get_connectors(self):
     return (Connector(ConnectionType.INT, self, True,
                       name="value"), ) + super().get_connectors()
Beispiel #6
0
 def get_connectors(self):
     return (Connector(ConnectionType.PROPAGATE, self, False,
                       name='output'), )