File tree 1 file changed +0
-16
lines changed
1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -43,29 +43,13 @@ class GroupAuditEventManager(RetrieveMixin, RESTManager):
43
43
class ProjectAuditEvent (RESTObject ):
44
44
_id_attr = "id"
45
45
46
- def __init_subclass__ (self ):
47
- warnings .warn (
48
- "This class has been renamed to ProjectAuditEvent "
49
- "and will be removed in a future release." ,
50
- DeprecationWarning ,
51
- 2 ,
52
- )
53
-
54
46
55
47
class ProjectAuditEventManager (RetrieveMixin , RESTManager ):
56
48
_path = "/projects/%(project_id)s/audit_events"
57
49
_obj_cls = ProjectAuditEvent
58
50
_from_parent_attrs = {"project_id" : "id" }
59
51
_list_filters = ("created_after" , "created_before" )
60
52
61
- def __init_subclass__ (self ):
62
- warnings .warn (
63
- "This class has been renamed to ProjectAuditEventManager "
64
- "and will be removed in a future release." ,
65
- DeprecationWarning ,
66
- 2 ,
67
- )
68
-
69
53
70
54
class ProjectAudit (ProjectAuditEvent ):
71
55
pass
You can’t perform that action at this time.
0 commit comments