Skip to content

Commit

Permalink
broken integration because a validation on steps (#111)
Browse files Browse the repository at this point in the history
* broken integration because a validation on steps

* linter

* 3.7
  • Loading branch information
alexviquez authored Dec 13, 2022
1 parent f71ec67 commit d545837
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 3 additions & 1 deletion mati/resources/verifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down
2 changes: 1 addition & 1 deletion mati/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.0.2' # pragma: no cover
__version__ = '2.0.3' # pragma: no cover

0 comments on commit d545837

Please sign in to comment.