示例#1
0
from natch.core import Decoration
from natch.rules import Partial

partial = Decoration.make_rule_decorator(Partial)
示例#2
0
from natch.core import Decoration
from natch.rules import Neq

neq = Decoration.make_rule_decorator(Neq)
示例#3
0
from natch.core import Decoration
from natch.rules import NotContains

not_contains = Decoration.make_rule_decorator(NotContains)
示例#4
0
文件: lt.py 项目: ertgl/natch
from natch.core import Decoration
from natch.rules import Lt


lt = Decoration.make_rule_decorator(Lt)
示例#5
0
from natch.core import Decoration
from natch.rules import Contains

contains = Decoration.make_rule_decorator(Contains)
示例#6
0
文件: lte.py 项目: ertgl/natch
from natch.core import Decoration
from natch.rules import Lte

lte = Decoration.make_rule_decorator(Lte)
示例#7
0
from natch.core import Decoration
from natch.rules import Eq

eq = Decoration.make_rule_decorator(Eq)
示例#8
0
文件: gt.py 项目: ertgl/natch
from natch.core import Decoration
from natch.rules import Gt

gt = Decoration.make_rule_decorator(Gt)
示例#9
0
文件: condition.py 项目: ertgl/natch
from natch.core import Decoration
from natch.rules import Condition

condition = Decoration.make_rule_decorator(Condition)
示例#10
0
from natch.core import Decoration
from natch.rules import Any

any = Decoration.make_rule_decorator(Any)
示例#11
0
文件: any_of.py 项目: ertgl/natch
from natch.core import Decoration
from natch.rules import AnyOf

any_of = Decoration.make_rule_decorator(AnyOf)
示例#12
0
from natch.core import Decoration
from natch.rules import Pattern

pattern = Decoration.make_rule_decorator(Pattern)
示例#13
0
from natch.core import Decoration
from natch.rules import AllOf

all_of = Decoration.make_rule_decorator(AllOf)
示例#14
0
from natch.core import Decoration
from natch.rules import Gte

gte = Decoration.make_rule_decorator(Gte)