Skip to content

Commit

Permalink
Fix an issue with the new name argument in __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
dlopes7 committed Jul 8, 2024
1 parent f5df30d commit c05d379
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dynatrace_extension/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
#
# SPDX-License-Identifier: MIT

__version__ = "1.2.6"
__version__ = "1.2.7"
2 changes: 1 addition & 1 deletion dynatrace_extension/sdk/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class Extension:
_instance: ClassVar = None
schedule_decorators: ClassVar = []

def __new__(cls):
def __new__(cls, *args, **kwargs): # noqa: ARG003
if Extension._instance is None:
Extension._instance = super(__class__, cls).__new__(cls)
return Extension._instance
Expand Down

0 comments on commit c05d379

Please sign in to comment.