Skip to content

Commit 23ca672

Browse files
authored
Merge pull request #97 from opsmill/pog-fix-deprecation-warning
Fix deprecation warning
2 parents ed48858 + 21be6c4 commit 23ca672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infrahub_sdk/transforms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def client(self) -> InfrahubClient:
5757
async def init(cls, client: Optional[InfrahubClient] = None, *args: Any, **kwargs: Any) -> InfrahubTransform:
5858
"""Async init method, If an existing InfrahubClient client hasn't been provided, one will be created automatically."""
5959
warnings.warn(
60-
f"{cls.__class__.__name__}.init has been deprecated and will be removed in Infrahub SDK 0.15.0 or the next major version",
60+
f"{cls.__class__.__name__}.init has been deprecated and will be removed in the version after Infrahub SDK 1.0.0",
6161
DeprecationWarning,
6262
stacklevel=1,
6363
)

0 commit comments

Comments
 (0)