Skip to content

Commit 2b72e1a

Browse files
committed
Disable pylint too-many-branches check for update method
The update() method has nested match statements that result in 21 branches, exceeding pylint 4.0's default limit of 12. This is intentional for handling various field update cases. Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent d6b2a5b commit 2b72e1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/frequenz/client/dispatch/_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ async def create( # pylint: disable=too-many-positional-arguments
367367

368368
return Dispatch.from_protobuf(response.dispatch)
369369

370-
async def update(
370+
async def update( # pylint: disable=too-many-branches
371371
self,
372372
*,
373373
microgrid_id: MicrogridId,

0 commit comments

Comments
 (0)