Skip to content

Commit 31e831c

Browse files
SP-19374: Update example
1 parent 2b10615 commit 31e831c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

example/example.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from regula.documentreader.webclient import *
44

55
host = os.getenv("API_BASE_PATH", "https://api.regulaforensics.com")
6-
regula_license = os.getenv("TEST_LICENSE", None) # optional, used here only for smoke test purposes
76

87
# read optional local license file
98
if os.path.isfile('regula.license') and os.access('regula.license', os.R_OK):
@@ -21,7 +20,6 @@
2120
uv_page_0 = f.read()
2221

2322
with DocumentReaderApi(host) as api:
24-
api.license = regula_license
2523
api.api_client.default_headers = {
2624
"X-CLIENT-KEY": "123",
2725
"Authorization": "Bearer 123"

0 commit comments

Comments
 (0)