Schema query class that searches for Group references in the specified schema.
| 132 | |
| 133 | |
| 134 | class GroupQuery(Query): |
| 135 | """ |
| 136 | Schema query class that searches for Group references in |
| 137 | the specified schema. |
| 138 | """ |
| 139 | |
| 140 | def execute(self, schema): |
| 141 | result = schema.groups.get(self.ref) |
| 142 | if self.filter(result): |
| 143 | result = None |
| 144 | return self.result(result) |
| 145 | |
| 146 | |
| 147 | class AttrQuery(Query): |