Exemplo n.º 1
0
 def select(self, field):
     if not libcoreir_c.COREWireableCanSelect(self.ptr, str.encode(field)):
         raise Exception("Cannot Select this Wireable with " + field)
     return Select(
         libcoreir_c.COREWireableSelect(self.ptr, str.encode(field)),
         self.context)
Exemplo n.º 2
0
 def select(self, field):
     return Select(
         libcoreir_c.COREWireableSelect(self.ptr, str.encode(field)),
         self.context)