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