diff options
| author | Pepper <pepper@scannerjammer.com> | 2015-09-27 00:03:42 -0400 |
|---|---|---|
| committer | Pepper <pepper@scannerjammer.com> | 2015-09-27 00:03:42 -0400 |
| commit | 30126dfc2877a82b8af02d68ca3b155068d551dd (patch) | |
| tree | a706d699cd1e1f50c2007e69d6ca9ba96819eaed /lib/param/raw.py | |
| parent | ff31f2c4cf1792df351359f1749f63b3d0cce23b (diff) | |
done linting...just need to wrap up and publish
Diffstat (limited to 'lib/param/raw.py')
| -rw-r--r-- | lib/param/raw.py | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/lib/param/raw.py b/lib/param/raw.py index 3d2f93f..72d6e0d 100644 --- a/lib/param/raw.py +++ b/lib/param/raw.py @@ -1,6 +1,14 @@ -from param import Param +"""Defines the raw param type""" +from .param import Param class Raw(Param): - def __init__(self, value, classname=""): - super(Raw, self).__init__(classname=classname) - self.value = value or None + """Defines the raw param type. + Basically, this is a catchall class, any input can go here, + so it needs to be used carefully (for security reasons). + Args: + value: can be any value + classname: name of the class to which the param instance belongs + """ + def __init__(self, value, classname=""): + super(Raw, self).__init__(classname=classname) + self.value = value or None |
