예제 #1
0
 def __repr__(self):
     text = "<AbstractLogClass property_name={}, property_unit={}\n".\
         format(self.property_name, self.property_unit)
     text += AbstractDBObject.__repr__(self)
     return text
예제 #2
0
 def __repr__(self) -> str:
     text = "<WellLogValue(id='{}', depth='{}', value='{}', log_id='{}'),\n". \
         format(self.id, self.depth, self.value, self.log_id)
     text += "Additional DBObject: {}>".format(AbstractDBObject.__repr__(self))
     return text
예제 #3
0
 def __repr__(self) -> str:
     text = "<WellLog(id='{}', well_id='{}', log values='{}')>\n". \
         format(self.id, self.well.id, str(self.log_values))
     text += "Additional DBObject: {}".format(AbstractDBObject.__repr__(self))
     return text
예제 #4
0
 def __repr__(self) -> str:
     text = "<AbstractGeoObject(east='{}', north='{}', alt='{}')>\n".format(self.easting, self.northing,
                                                                            self.altitude)
     text += AbstractDBObject.__repr__(self)
     return text
예제 #5
0
 def __repr__(self) -> str:
     return "<WellMarker(id='{}', depth='{}', horizon='{}'\nAbstractObject: {}". \
         format(self.id, self.depth, self.horizon, AbstractDBObject.__repr__(self))
예제 #6
0
 def __repr__(self) -> str:
     text = "<Line(id='{}', closed='{}', horizon='{}'\n)>".format(self.id, self.closed, str(self.horizon))
     text += AbstractDBObject.__repr__(self)
     text += "\npoints=\n" + str(self.points)
     return text