From 4febb4dd1417de8961b2ab092b0c530ca088b72a Mon Sep 17 00:00:00 2001 From: Jason Gerard DeRose Date: Wed, 21 Jan 2009 17:19:39 -0700 Subject: Started roughing out new crud base classes --- ipalib/parameters.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ipalib/parameters.py') diff --git a/ipalib/parameters.py b/ipalib/parameters.py index 76d88347..8928df16 100644 --- a/ipalib/parameters.py +++ b/ipalib/parameters.py @@ -230,6 +230,7 @@ class Param(ReadOnly): ('create_default', callable, None), ('autofill', bool, False), ('query', bool, False), + ('attribute', bool, False), ('flags', frozenset, frozenset()), # The 'default' kwarg gets appended in Param.__init__(): @@ -791,6 +792,8 @@ class Bytes(Data): Python v3 ``(str, unicode) => (bytes, str)`` clean-up. See: http://docs.python.org/3.0/whatsnew/3.0.html + + Also see the `Str` parameter. """ type = str @@ -839,6 +842,8 @@ class Str(Data): Python v3 ``(str, unicode) => (bytes, str)`` clean-up. See: http://docs.python.org/3.0/whatsnew/3.0.html + + Also see the `Bytes` parameter. """ type = unicode -- cgit