Skip to content

Commit 966326c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f41de84 commit 966326c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/models/dtos/project_partner_dto.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66

77
def is_known_action(value):
88
"""Validates that the action performed on a Project-Partner link is known"""
9-
valid_values = \
10-
f"{ProjectPartnerAction.CREATE.name}, {ProjectPartnerAction.DELETE.name}, {ProjectPartnerAction.UPDATE.name}"
9+
valid_values = f"{ProjectPartnerAction.CREATE.name}, {ProjectPartnerAction.DELETE.name}, {ProjectPartnerAction.UPDATE.name}"
1110

1211
try:
1312
action = ProjectPartnerAction[value.upper()]

0 commit comments

Comments
 (0)