From 486438e645316654751240511cf5ca1a3dd40e81 Mon Sep 17 00:00:00 2001 From: Leon Haffmans Date: Fri, 22 Sep 2023 19:57:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pvtool/customer_loader.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/pvtool/customer_loader.py b/src/pvtool/customer_loader.py index 530ace6..6936a5f 100644 --- a/src/pvtool/customer_loader.py +++ b/src/pvtool/customer_loader.py @@ -3,7 +3,7 @@ """ import re from datetime import date, datetime -from typing import Any, Generator, Iterator, Optional, TypeAlias +from typing import Any, Generator, Optional, TypeAlias from bo4e.com.adresse import Adresse from bo4e.com.externereferenz import ExterneReferenz @@ -16,9 +16,15 @@ from ibims.datasets import TripicaCustomerLoaderDataSet from injector import Module, provider from more_itertools import first_true -from pvframework import PathMappedValidator, Query, QueryMappedValidator, ValidationManager, Validator -from pvframework.mapped_validators.query_map import QueryIterable -from pvframework.types import DataSetT, SyncValidatorFunction, ValidatorFunctionT +from pvframework import ( + ParallelQueryMappedValidator, + PathMappedValidator, + Query, + QueryMappedValidator, + ValidationManager, + Validator, +) +from pvframework.types import SyncValidatorFunction from pvframework.utils import param, required_field from pytz import timezone from schwifty import BIC, IBAN