We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8260cc commit bc60a5eCopy full SHA for bc60a5e
1 file changed
samples.md
@@ -4,19 +4,16 @@
4
import os
5
from synapse_pay_rest import Client
6
7
-required = {
+args = {
8
'client_id': os.environ['TEST_CLIENT_ID'], # your client id
9
'client_secret': os.environ['TEST_CLIENT_SECRET'], # your client secret
10
'fingerprint': 'user_fingerprint',
11
'ip_address': '127.0.0.1', # user's IP
12
+ 'development_mode': True, # (optional) default False
13
+ 'logging': False # (optional) logs to stdout if True
14
}
15
-options = {
- 'development_mode': True, # default False
16
- 'logging': False # logs to stdout if True
17
-}
18
-
19
-client = Client(**required, **options)
+client = Client(**args)
20
```
21
22
0 commit comments