diff --git a/gitlab/v4/objects/audit_events.py b/gitlab/v4/objects/audit_events.py index c99856a9e..20ea116cc 100644 --- a/gitlab/v4/objects/audit_events.py +++ b/gitlab/v4/objects/audit_events.py @@ -2,8 +2,6 @@ GitLab API: https://docs.gitlab.com/ee/api/audit_events.html """ -import warnings - from gitlab.base import RESTManager, RESTObject from gitlab.mixins import RetrieveMixin @@ -43,14 +41,6 @@ class GroupAuditEventManager(RetrieveMixin, RESTManager): class ProjectAuditEvent(RESTObject): _id_attr = "id" - def __init_subclass__(self): - warnings.warn( - "This class has been renamed to ProjectAuditEvent " - "and will be removed in a future release.", - DeprecationWarning, - 2, - ) - class ProjectAuditEventManager(RetrieveMixin, RESTManager): _path = "/projects/%(project_id)s/audit_events" @@ -58,14 +48,6 @@ class ProjectAuditEventManager(RetrieveMixin, RESTManager): _from_parent_attrs = {"project_id": "id"} _list_filters = ("created_after", "created_before") - def __init_subclass__(self): - warnings.warn( - "This class has been renamed to ProjectAuditEventManager " - "and will be removed in a future release.", - DeprecationWarning, - 2, - ) - class ProjectAudit(ProjectAuditEvent): pass pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy