Skip to content

Commit f9a276f

Browse files
committed
Fix shared list initialization
1 parent efe0351 commit f9a276f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ldclient/impl/datasystem/protocolv2.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,12 @@ class ChangeSetBuilder:
541541
You have been warned.
542542
"""
543543

544-
intent: Optional[IntentCode] = None
545-
changes: List[Change] = []
544+
def __init__(self):
545+
"""
546+
Initializes a new ChangeSetBuilder.
547+
"""
548+
self.intent = None
549+
self.changes = []
546550

547551
@staticmethod
548552
def no_changes() -> "ChangeSet":

0 commit comments

Comments
 (0)