Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/doc_scan/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,32 +53,32 @@ def create_session():
session_spec = (
SessionSpecBuilder()
.with_client_session_token_ttl(600)
.with_resources_ttl(90000)
.with_resources_ttl(604800)
.with_user_tracking_id("some-user-tracking-id")
.with_requested_check(
RequestedDocumentAuthenticityCheckBuilder()
.with_manual_check_always()
.with_manual_check_fallback()
.build()
)
.with_requested_check(
RequestedLivenessCheckBuilder()
.for_zoom_liveness()
.with_max_retries(1)
.for_static_liveness()
.with_max_retries(3)
.build()
)
.with_requested_check(
RequestedFaceMatchCheckBuilder().with_manual_check_always().build()
RequestedFaceMatchCheckBuilder().with_manual_check_fallback().build()
)
.with_requested_check(RequestedIDDocumentComparisonCheckBuilder().build())
.with_requested_task(
RequestedTextExtractionTaskBuilder()
.with_manual_check_always()
.with_manual_check_fallback()
.with_chip_data_desired()
.build()
)
.with_requested_task(
RequestedSupplementaryDocTextExtractionTaskBuilder()
.with_manual_check_always()
.with_manual_check_fallback()
.build()
)
.with_sdk_config(sdk_config)
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cffi==1.14.3
future==0.18.2
itsdangerous==1.1.0
pbr==1.10.0
protobuf==3.13.0
protobuf==4.21.12
pyopenssl==19.1.0
PyYAML==5.2 # PyYAML 5.3 does not support Python 3.4
pytz==2022.1
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ itsdangerous==1.1.0
# via -r requirements.in
pbr==1.10.0
# via -r requirements.in
protobuf==3.13.0
protobuf==4.21.12
# via -r requirements.in
pycparser==2.18
# via cffi
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
install_requires=[
"deprecated==1.2.10",
"cryptography>=2.2.1",
"protobuf==3.13.0",
"protobuf==3.20.1",
"requests>=2.11.1",
"future>=0.11.0",
"asn1==2.2.0",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sonar.host.url = https://sonarcloud.io
sonar.organization = getyoti
sonar.projectKey = getyoti:python
sonar.projectName = Python SDK
sonar.projectVersion = 2.14.1
sonar.projectVersion = 2.14.2
sonar.exclusions = yoti_python_sdk/tests/**,examples/**,yoti_python_sdk/protobuf/**/*

sonar.python.pylint.reportPath = coverage.out
Expand Down
2 changes: 1 addition & 1 deletion yoti_python_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# -*- coding: utf-8 -*-
__version__ = "2.14.1"
__version__ = "2.14.2"