blob: f3877eed08f848755ede83f7fcbaacebc5d71273 [file] [log] [blame]
Scott Bakerbe2a5172019-04-10 18:02:50 -07001// custom_python at the model level should override only one model
2
3message XOSModel (XOSBase) {
4 option custom_python = True;
5 required string name = 1 [max_length = 200, content_type = "stripped", blank = False, help_text = "Help Name", null = False, db_index = False];
6 required string files = 2 [max_length = 1024, content_type = "stripped", blank = False, help_text = "Help Files", null = False, db_index = False];
7}
8
9message XOSModel2 (XOSBase) {
10 required string name = 1 [max_length = 200, content_type = "stripped", blank = False, help_text = "Help Name", null = False, db_index = False];
11 required string files = 2 [max_length = 1024, content_type = "stripped", blank = False, help_text = "Help Files", null = False, db_index = False];
12}