You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DEVELOPER.md
+4-13Lines changed: 4 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Developers manual
2
2
3
3
## Supported Python versions
4
-
We support Python 2.7 and >=3.4
4
+
We support Python 3.6, 3.7, 3.8, 3.9
5
5
6
6
## Supported platforms
7
7
We maintain and test our SDK using Travis.CI and Ubuntu.
@@ -30,26 +30,17 @@ There are 2 types of calls:
30
30
31
31
You can find more examples here https://github.com/pubnub/python/blob/master/tests/integrational/asyncio/test_invocations.py
32
32
33
-
### Tornado
34
-
Tornado supports by Python 2.7 and Python >= 3.3.
35
-
There are 2 types of calls:
36
-
- using `result()` - only a result will be returned; in case of exception it will be raised natively
37
-
- using `future()` - a wrapper (Envelope) for a result and a status; in case of exception it can be checked using env.is_error()
38
-
39
-
You can find more examples here https://github.com/pubnub/python/blob/master/tests/integrational/tornado/test_invocations.py
40
-
41
-
### Twisted
42
-
Twisted is supported by Python 2.7 only.
43
-
44
33
## Tests
45
34
* Test runner: py.test
46
35
* Source code checker: flake
36
+
* BDD tests runner: behave - one needs to place needed feature file under acceptance/name_of_the_feature directory.
37
+
An example: `behave tests/acceptance/pam`
47
38
48
39
## Daemon mode with Native SDK
49
40
Daemon mode for all requests are disabled by default. This means that all asynchronous requests including will block the main thread until all the children be closed. If SDK user want to use Java-like behaviour when it's up to him to decide should he wait for response completion or continue program execution, he has to explicitly set daemon mode to true:
0 commit comments