|
30 | 30 | FromDictMixin, |
31 | 31 | FromDictWithBase, |
32 | 32 | PaginationParameter, |
| 33 | + PaginationParameterSchema, |
33 | 34 | SearchParameter, |
| 35 | + SearchParameterSchema, |
34 | 36 | ToDictMixin, |
35 | 37 | ) |
36 | 38 |
|
@@ -1113,7 +1115,10 @@ class MembersParameters(PaginationParameter, SearchParameter, ToDictMixin): |
1113 | 1115 | ] = None |
1114 | 1116 |
|
1115 | 1117 |
|
1116 | | -class MembersParametersSchema(BaseSchema): |
| 1118 | +class MembersParametersSchema( |
| 1119 | + PaginationParameterSchema, |
| 1120 | + SearchParameterSchema, # pyright: ignore[reportGeneralTypeIssues] |
| 1121 | +): |
1117 | 1122 | access_level = fields.Enum(AccessLevel, by_value=True, allow_none=True) |
1118 | 1123 | active = fields.Bool(allow_none=True) |
1119 | 1124 | ordering = fields.Str(allow_none=True) |
@@ -1298,7 +1303,10 @@ class TeamInvitationParameters(PaginationParameter, ToDictMixin): |
1298 | 1303 | incident_permission: Optional[IncidentPermission] = None |
1299 | 1304 |
|
1300 | 1305 |
|
1301 | | -class TeamInvitationParameterSchema(BaseSchema): |
| 1306 | +class TeamInvitationParameterSchema( |
| 1307 | + PaginationParameterSchema, |
| 1308 | + SearchParameterSchema, # pyright: ignore[reportGeneralTypeIssues] |
| 1309 | +): |
1302 | 1310 | invitation_id = fields.Int(allow_none=True) |
1303 | 1311 | is_team_leader = fields.Bool(allow_none=True) |
1304 | 1312 | incident_permission = fields.Enum( |
@@ -1374,7 +1382,10 @@ class TeamMemberParameters(PaginationParameter, SearchParameter, ToDictMixin): |
1374 | 1382 | member_id: Optional[int] = None |
1375 | 1383 |
|
1376 | 1384 |
|
1377 | | -class TeamMembershipParameterSchema(BaseSchema): |
| 1385 | +class TeamMembershipParameterSchema( |
| 1386 | + PaginationParameterSchema, |
| 1387 | + SearchParameterSchema, # pyright: ignore[reportGeneralTypeIssues] |
| 1388 | +): |
1378 | 1389 | is_team_leader = fields.Bool(allow_none=True) |
1379 | 1390 | incident_permission = fields.Enum( |
1380 | 1391 | IncidentPermission, by_value=True, allow_none=True |
|
0 commit comments