Merge "Adds abc.ABCMeta for base smart-type classes"
This commit is contained in:
commit
a7d210d6e3
@ -25,16 +25,19 @@ from yaql.language import utils
|
||||
from yaql import yaql_interface
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class HiddenParameterType(object):
|
||||
# noinspection PyMethodMayBeStatic,PyUnusedLocal
|
||||
def check(self, value, context, engine, *args, **kwargs):
|
||||
return True
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class LazyParameterType(object):
|
||||
pass
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class SmartType(object):
|
||||
def __init__(self, nullable):
|
||||
self.nullable = nullable
|
||||
|
Loading…
Reference in New Issue
Block a user