Advertisement
Guest User

Untitled

a guest
Dec 22nd, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.40 KB | None | 0 0
  1.     def __init__(self, record, type, title, timestamp=None,
  2.             text=None, unit=None, unit_short=None):
  3.         self.record = record
  4.         self.type = type
  5.         self.title = title
  6.         self.timestamp = timestamp
  7.         self.text = text
  8.         self.unit = unit
  9.         self.unit_short = unit_short
  10.  
  11.  
  12. set = Set(title=title, record=record.id, text=text, unit=unit, unit_short=unit_short)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement