Skip to content

Commit 5bdd5f7

Browse files
committed
fix format
1 parent bd02cce commit 5bdd5f7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

libs/labelbox/src/labelbox/schema/workflow/nodes/review_node.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ def sync_group_assignment_with_config(self) -> "ReviewNode":
133133
"value": group_ids,
134134
"metadata": None,
135135
}
136-
136+
137137
# Check if group assignment entry already exists and update it, otherwise add it
138138
updated = False
139139
for i, entry in enumerate(self.node_config):
140140
if entry.get("field") == "groupAssignment":
141141
self.node_config[i] = group_config_entry
142142
updated = True
143143
break
144-
144+
145145
if not updated:
146146
self.node_config.append(group_config_entry)
147147

@@ -172,7 +172,9 @@ def __setattr__(self, name: str, value: Any) -> None:
172172
super().__setattr__(name, value)
173173

174174
# Sync changes to node_config when max_contributions_per_user is updated
175-
if name == "max_contributions_per_user" and hasattr(self, "node_config"):
175+
if name == "max_contributions_per_user" and hasattr(
176+
self, "node_config"
177+
):
176178
self._sync_config()
177179

178180
def _sync_config(self) -> None:

0 commit comments

Comments
 (0)