Searched refs:make_choice (Results 1 – 6 of 6) sorted by relevance
/external/python/parse_type/tests/ |
D | test_cardinality_field0.py | 46 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"])
|
D | test_builder.py | 131 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"],
|
D | parse_type_test.py | 39 parse_person_choice = TypeBuilder.make_choice(["Alice", "Bob", "Charly"])
|
D | test_cardinality.py | 224 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/ |
D | builder.py | 129 def make_choice(cls, choices, transform=None, strict=None): member in TypeBuilder
|
/external/python/parse_type/ |
D | README.rst | 201 parse_choice_yesno = TypeBuilder.make_choice(["yes", "no"])
|