def __init__(self, **props): """ Email submission does... well, you get the idea... """ self.subject = self.reply_to = self.send_from = self.send_to = "" SubmissionBase.__init__(self, **props)
def __init__(self, **props): """ AttrsStorage uses simple attribute storage to store the separate fields onto the context. """ SubmissionBase.__init__(self, **props)
def __init__(self, **props): """ PyramidSessionStorage stores the data container in the session """ SubmissionBase.__init__(self, **props) self.attr_name = props.get("attr_name", DATA_ATTR_NAME)
def __init__(self, **props): """ AttrStorage uses simple attribute storage to store the whole data container on the context. """ SubmissionBase.__init__(self, **props) self.attr_name = props.get("attr_name", DATA_ATTR_NAME) self.use_blobstorage = props.get("use_blobstorage", False)
def __init__(self, **props): """ Method call submission enables calling a method of the form context, or attributes thereof. To call methods on subparts, do something like 'subattribute.method'. """ SubmissionBase.__init__(self, **props) self.submit_method = props.get("submit_method", None) self.retrieve_method = props.get("retrieve_method", None)
def __init__(self, **props): """ AttrStorage uses simple attribute storage to store the whole data container on the context. """ SubmissionBase.__init__(self, **props) self.attr_name = props.get("attr_name", DATA_ATTR_NAME) self.use_blobstorage = props.get("use_blobstorage", False) ucf = props.get("use_compression_for", None) ucf = ucf and ucf.split(",") or [] self._use_compression_for = ucf
def __init__(self, **props): SubmissionBase.__init__(self, **props) self.type = "none"
def __init__(self, **props): """ Email submission does... well, you get the idea... """ SubmissionBase.__init__(self, **props)