Skip to content

Commit e78ae28

Browse files
yt-msMidnighter
authored andcommitted
fix: bump "next version" to 0.5 in warnings
1 parent 5535477 commit e78ae28

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/structurizr/api/structurizr_client.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ def __enter__(self):
107107
"""Enter a context by locking the corresponding remote workspace."""
108108
warnings.warn(
109109
"Using the `StructurizrClient` in a context is deprecated since version "
110-
"0.4.1 and will be removed in a future release. Please use the "
111-
"preferred method `.lock()` instead.",
110+
"0.5.0 and will be removed in a future release. Please use the preferred "
111+
"method `.lock()` instead.",
112112
DeprecationWarning,
113113
)
114114
is_successful = self.lock_workspace()
@@ -123,8 +123,8 @@ def __exit__(self, exc_type, exc_val, exc_tb):
123123
"""Exit a context by unlocking the corresponding remote workspace."""
124124
warnings.warn(
125125
"Using the `StructurizrClient` in a context is deprecated since version "
126-
"0.4.1 and will be removed in a future release. Please use the "
127-
"preferred method `.lock()` instead.",
126+
"0.5.0 and will be removed in a future release. Please use the preferred "
127+
"method `.lock()` instead.",
128128
DeprecationWarning,
129129
)
130130
is_successful = self.unlock_workspace()

0 commit comments

Comments
 (0)