Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def __init__(self, record, type, title, timestamp=None,
- text=None, unit=None, unit_short=None):
- self.record = record
- self.type = type
- self.title = title
- self.timestamp = timestamp
- self.text = text
- self.unit = unit
- self.unit_short = unit_short
- 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