Home
last modified time | relevance | path

Searched refs:make_choice (Results 1 – 6 of 6) sorted by relevance

/external/python/parse_type/tests/
Dtest_cardinality_field0.py46 parse_person = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
64 parse_person = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
82 parse_person = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
103 parse_person = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
Dtest_builder.py131 parse_choice = TypeBuilder.make_choice(["one", "two", "three"])
150 parse_choice = TypeBuilder.make_choice(["one", "two", "three"],
163 parse_choice = TypeBuilder.make_choice(["One", "TWO", "three"],
183 parse_choice = TypeBuilder.make_choice(["one", "two", "three"],
197 parse_choice = TypeBuilder.make_choice(["ONE", "two", "Three"],
Dparse_type_test.py39 parse_person_choice = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
Dtest_cardinality.py224 parse_color = TypeBuilder.make_choice(["red", "green", "blue"])
237 parse_color = TypeBuilder.make_choice(["red", "green", "blue"])
282 parse_color = TypeBuilder.make_choice(["red", "green", "blue"])
/external/python/parse_type/parse_type/
Dbuilder.py129 def make_choice(cls, choices, transform=None, strict=None): member in TypeBuilder
/external/python/parse_type/
DREADME.rst201 parse_choice_yesno = TypeBuilder.make_choice(["yes", "no"])