wherobots-python-dbapi 0.12.0__tar.gz → 0.12.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/PKG-INFO +5 -5
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/README.md +4 -4
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/pyproject.toml +1 -1
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/driver.py +2 -1
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/LICENSE +0 -0
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/__init__.py +0 -0
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/connection.py +0 -0
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/constants.py +0 -0
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/cursor.py +0 -0
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/errors.py +0 -0
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/region.py +0 -0
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/runtime.py +0 -0
- {wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/session_type.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wherobots-python-dbapi
|
|
3
|
-
Version: 0.12.
|
|
3
|
+
Version: 0.12.1
|
|
4
4
|
Summary: Python DB-API driver for Wherobots DB
|
|
5
5
|
License: Apache 2.0
|
|
6
6
|
Author: Maxime Petazzoni
|
|
@@ -110,10 +110,10 @@ users may find useful:
|
|
|
110
110
|
convenient for human inspection while still being usable by
|
|
111
111
|
libraries like Shapely.
|
|
112
112
|
* `session_type`: `"single"` or `"multi"`; if set to `"single"`, then each call
|
|
113
|
-
to `
|
|
114
|
-
Wherobots runtime; if set to "multi", then multiple `
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
to `connect()` establishes an exclusive connection to a distinct and dedicated
|
|
114
|
+
Wherobots runtime; if set to "multi", then multiple `connect()` calls with the
|
|
115
|
+
same arguments and credentials will connect to the same shared Wherobots runtime;
|
|
116
|
+
`"single"` is the default.
|
|
117
117
|
|
|
118
118
|
Consider multi-session for potential cost savings, but be mindful of
|
|
119
119
|
performance impacts from shared resources. You might need to adjust
|
|
@@ -82,10 +82,10 @@ users may find useful:
|
|
|
82
82
|
convenient for human inspection while still being usable by
|
|
83
83
|
libraries like Shapely.
|
|
84
84
|
* `session_type`: `"single"` or `"multi"`; if set to `"single"`, then each call
|
|
85
|
-
to `
|
|
86
|
-
Wherobots runtime; if set to "multi", then multiple `
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
to `connect()` establishes an exclusive connection to a distinct and dedicated
|
|
86
|
+
Wherobots runtime; if set to "multi", then multiple `connect()` calls with the
|
|
87
|
+
same arguments and credentials will connect to the same shared Wherobots runtime;
|
|
88
|
+
`"single"` is the default.
|
|
89
89
|
|
|
90
90
|
Consider multi-session for potential cost savings, but be mindful of
|
|
91
91
|
performance impacts from shared resources. You might need to adjust
|
|
@@ -100,10 +100,11 @@ def connect(
|
|
|
100
100
|
try:
|
|
101
101
|
resp = requests.post(
|
|
102
102
|
url=f"{host}/sql/session",
|
|
103
|
-
params={"region": region.value
|
|
103
|
+
params={"region": region.value},
|
|
104
104
|
json={
|
|
105
105
|
"runtimeId": runtime.value,
|
|
106
106
|
"shutdownAfterInactiveSeconds": shutdown_after_inactive_seconds,
|
|
107
|
+
"sessionType": session_type.value,
|
|
107
108
|
},
|
|
108
109
|
headers=headers,
|
|
109
110
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wherobots_python_dbapi-0.12.0 → wherobots_python_dbapi-0.12.1}/wherobots/db/session_type.py
RENAMED
|
File without changes
|