From d545837309e539366fac323883f10340ad90aecc Mon Sep 17 00:00:00 2001 From: Alex Viquez Date: Tue, 13 Dec 2022 15:03:53 -0600 Subject: [PATCH] broken integration because a validation on steps (#111) * broken integration because a validation on steps * linter * 3.7 --- .github/workflows/test.yml | 2 +- mati/resources/verifications.py | 4 +++- mati/version.py | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 752850f..4731289 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.7, 3.8] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} diff --git a/mati/resources/verifications.py b/mati/resources/verifications.py index 8c41342..03512cc 100644 --- a/mati/resources/verifications.py +++ b/mati/resources/verifications.py @@ -31,7 +31,9 @@ class Verification(Resource): def __post_init__(self): docs = [] - self.steps = [Liveness(**step) for step in self.steps] + self.steps = [ + Liveness(**step) for step in self.steps if step['id'] == 'liveness' + ] for doc in self.documents: doc['steps'] = [ VerificationDocumentStep(**step) for step in doc['steps'] diff --git a/mati/version.py b/mati/version.py index f9ab40d..7e5c05e 100644 --- a/mati/version.py +++ b/mati/version.py @@ -1 +1 @@ -__version__ = '2.0.2' # pragma: no cover +__version__ = '2.0.3' # pragma: no cover