wherobots-python-dbapi 0.6.1__tar.gz → 0.6.2__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.6.1 → wherobots_python_dbapi-0.6.2}/PKG-INFO +1 -1
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/pyproject.toml +1 -1
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/wherobots/db/driver.py +1 -6
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/LICENSE +0 -0
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/README.md +0 -0
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/wherobots/__init__.py +0 -0
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/wherobots/db/__init__.py +0 -0
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/wherobots/db/connection.py +0 -0
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/wherobots/db/constants.py +0 -0
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/wherobots/db/cursor.py +0 -0
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/wherobots/db/errors.py +0 -0
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/wherobots/db/region.py +0 -0
- {wherobots_python_dbapi-0.6.1 → wherobots_python_dbapi-0.6.2}/wherobots/db/runtime.py +0 -0
|
@@ -142,11 +142,6 @@ def http_to_ws(uri: str) -> str:
|
|
|
142
142
|
return str(urllib.parse.urlunparse(parsed))
|
|
143
143
|
|
|
144
144
|
|
|
145
|
-
def append_protocol(uri: str, protocol: str) -> str:
|
|
146
|
-
"""Appends the protocol version to the URI."""
|
|
147
|
-
return urllib.parse.urljoin(os.path.join(uri, ""), protocol)
|
|
148
|
-
|
|
149
|
-
|
|
150
145
|
def connect_direct(
|
|
151
146
|
uri: str,
|
|
152
147
|
headers: dict[str, str] = None,
|
|
@@ -156,7 +151,7 @@ def connect_direct(
|
|
|
156
151
|
geometry_representation: Union[GeometryRepresentation, None] = None,
|
|
157
152
|
) -> Connection:
|
|
158
153
|
q = queue.SimpleQueue()
|
|
159
|
-
uri_with_protocol =
|
|
154
|
+
uri_with_protocol = f"{uri}/{PROTOCOL_VERSION}"
|
|
160
155
|
|
|
161
156
|
def create_ws_connection():
|
|
162
157
|
try:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|