Skip to content

Commit cf2177c

Browse files
Flix6xclaude
andcommitted
Drop a local import of ValidationError which the module already has
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0129WrXeJ5gia2pctFH93BqC Signed-off-by: F.N. Claessen <claessen@seita.nl>
1 parent 68fa7d8 commit cf2177c

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎flexmeasures/data/services/automations.py‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,6 @@ def _create_builtin_automation(
18841884
:raises werkzeug.exceptions.Forbidden: if a sensor, or the named data source, is not accessible to the user.
18851885
:returns: the automation and a list of warnings.
18861886
"""
1887-
from marshmallow import ValidationError
18881887
from werkzeug.exceptions import Forbidden
18891888

18901889
from flexmeasures.data.models.audit_log import AssetAuditLog

0 commit comments

Comments
 (0)