Skip to content

Commit 8f82b12

Browse files
committed
Fix auth() example in documentation
Change-Id: I47d03a031d422e1ba5c15bea8143cd4650a63646
1 parent 9dc89da commit 8f82b12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

KorAPClient/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,11 @@ def auth(self, *args, **kwargs):
133133
134134
Example:
135135
```
136+
from KorAPClient import KorAPConnection, NULL
137+
136138
### Create a KorAPConnection object without an existing access token
137139
138-
kcon = KorAPConnection(accessToken=None, verbose=True).auth()
140+
kcon = KorAPConnection(accessToken=NULL, verbose=True).auth()
139141
140142
### Perform a query using the authenticated connection
141143

0 commit comments

Comments
 (0)