Skip to content

Commit 90482cd

Browse files
authored
Add SimpleGroupIndexed class with indexed group_id
1 parent 4fda828 commit 90482cd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

emannotationschemas/schemas/groups.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,10 @@ class SimpleGroup(ReferenceAnnotation):
77
required=True,
88
description="group id",
99
)
10+
11+
class SimpleGroupIndexed(ReferenceAnnotation):
12+
group_id = mm.fields.Int(
13+
required=True,
14+
description="group id",
15+
index=True,
16+
)

0 commit comments

Comments
 (0)