Skip to content

Commit

Permalink
Merge pull request #3550 from open-formulieren/chore/minor-code-cleanups
Browse files Browse the repository at this point in the history
🎨 Small code cleanups
  • Loading branch information
CharString authored Oct 24, 2023
2 parents 7d0c223 + 78662ef commit 622e23e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/openforms/forms/api/serializers/form_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class Meta:
# every variable in the bulk update call, leading to O(n) queries with ``n``
# the amount of variables.
# The (bulk) API endpoint(s) and this ListSerializer are responsible for
# applying # this validation on the whole collection.
# applying this validation on the whole collection.
validators = []

def validate_service_fetch_configuration(self, value):
Expand All @@ -161,9 +161,6 @@ def validate_service_fetch_configuration(self, value):
config.is_valid(raise_exception=True)
return config

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

def validate(self, attrs):
if (form_definition := attrs.get("form_definition")) and attrs.get(
"source"
Expand Down

0 comments on commit 622e23e

Please sign in to comment.