singlestoredb 1.3.0__cp38-abi3-win32.whl → 1.3.1__cp38-abi3-win32.whl
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.
Potentially problematic release.
This version of singlestoredb might be problematic. Click here for more details.
- _singlestoredb_accel.pyd +0 -0
- singlestoredb/__init__.py +1 -1
- singlestoredb/functions/ext/asgi.py +1 -2
- singlestoredb/management/organization.py +2 -2
- singlestoredb/management/workspace.py +1 -1
- singlestoredb/mysql/connection.py +1 -0
- singlestoredb/notebook/_objects.py +3 -2
- {singlestoredb-1.3.0.dist-info → singlestoredb-1.3.1.dist-info}/METADATA +1 -1
- {singlestoredb-1.3.0.dist-info → singlestoredb-1.3.1.dist-info}/RECORD +13 -13
- {singlestoredb-1.3.0.dist-info → singlestoredb-1.3.1.dist-info}/LICENSE +0 -0
- {singlestoredb-1.3.0.dist-info → singlestoredb-1.3.1.dist-info}/WHEEL +0 -0
- {singlestoredb-1.3.0.dist-info → singlestoredb-1.3.1.dist-info}/entry_points.txt +0 -0
- {singlestoredb-1.3.0.dist-info → singlestoredb-1.3.1.dist-info}/top_level.txt +0 -0
_singlestoredb_accel.pyd
CHANGED
|
Binary file
|
singlestoredb/__init__.py
CHANGED
|
@@ -562,7 +562,6 @@ class Application(object):
|
|
|
562
562
|
elif method == 'GET' and path == self.show_create_function_path:
|
|
563
563
|
host = headers.get(b'host', b'localhost:80')
|
|
564
564
|
reflected_url = f'{scope["scheme"]}://{host.decode("utf-8")}/invoke'
|
|
565
|
-
data_format = 'json' if b'json' in content_type else 'rowdat_1'
|
|
566
565
|
|
|
567
566
|
syntax = []
|
|
568
567
|
for key, (endpoint, endpoint_info) in self.endpoints.items():
|
|
@@ -571,7 +570,7 @@ class Application(object):
|
|
|
571
570
|
signature_to_sql(
|
|
572
571
|
endpoint_info['signature'],
|
|
573
572
|
url=self.url or reflected_url,
|
|
574
|
-
data_format=data_format,
|
|
573
|
+
data_format=self.data_format,
|
|
575
574
|
),
|
|
576
575
|
)
|
|
577
576
|
body = '\n'.join(syntax).encode('utf-8')
|
|
@@ -35,11 +35,11 @@ class Secret(object):
|
|
|
35
35
|
self,
|
|
36
36
|
id: str,
|
|
37
37
|
name: str,
|
|
38
|
-
value: str,
|
|
39
38
|
created_by: str,
|
|
40
39
|
created_at: Union[str, datetime.datetime],
|
|
41
40
|
last_updated_by: str,
|
|
42
41
|
last_updated_at: Union[str, datetime.datetime],
|
|
42
|
+
value: Optional[str] = None,
|
|
43
43
|
deleted_by: Optional[str] = None,
|
|
44
44
|
deleted_at: Optional[Union[str, datetime.datetime]] = None,
|
|
45
45
|
):
|
|
@@ -88,11 +88,11 @@ class Secret(object):
|
|
|
88
88
|
out = cls(
|
|
89
89
|
id=obj['secretID'],
|
|
90
90
|
name=obj['name'],
|
|
91
|
-
value=obj['value'],
|
|
92
91
|
created_by=obj['createdBy'],
|
|
93
92
|
created_at=obj['createdAt'],
|
|
94
93
|
last_updated_by=obj['lastUpdatedBy'],
|
|
95
94
|
last_updated_at=obj['lastUpdatedAt'],
|
|
95
|
+
value=obj.get('value'),
|
|
96
96
|
deleted_by=obj.get('deletedBy'),
|
|
97
97
|
deleted_at=obj.get('deletedAt'),
|
|
98
98
|
)
|
|
@@ -39,7 +39,7 @@ def get_organization() -> Organization:
|
|
|
39
39
|
return manage_workspaces().organization
|
|
40
40
|
|
|
41
41
|
|
|
42
|
-
def get_secret(name: str) -> str:
|
|
42
|
+
def get_secret(name: str) -> Optional[str]:
|
|
43
43
|
"""Get a secret from the organization."""
|
|
44
44
|
return get_organization().get_secret(name).value
|
|
45
45
|
|
|
@@ -1858,6 +1858,7 @@ class MySQLResultSV(MySQLResult):
|
|
|
1858
1858
|
parse_json=connection.parse_json,
|
|
1859
1859
|
invalid_values=connection.invalid_values,
|
|
1860
1860
|
unbuffered=unbuffered,
|
|
1861
|
+
encoding_errors=connection.encoding_errors,
|
|
1861
1862
|
).items() if v is not UNSET
|
|
1862
1863
|
}
|
|
1863
1864
|
self._read_rowdata_packet = functools.partial(
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
import functools
|
|
3
3
|
from typing import Any
|
|
4
|
+
from typing import Optional
|
|
4
5
|
|
|
5
6
|
from ..management import workspace as _ws
|
|
6
7
|
|
|
@@ -8,12 +9,12 @@ from ..management import workspace as _ws
|
|
|
8
9
|
class Secrets(object):
|
|
9
10
|
"""Wrapper for accessing secrets as object attributes."""
|
|
10
11
|
|
|
11
|
-
def __getattr__(self, name: str) -> str:
|
|
12
|
+
def __getattr__(self, name: str) -> Optional[str]:
|
|
12
13
|
if name.startswith('_ipython') or name.startswith('_repr_'):
|
|
13
14
|
raise AttributeError(name)
|
|
14
15
|
return _ws.get_secret(name)
|
|
15
16
|
|
|
16
|
-
def __getitem__(self, name: str) -> str:
|
|
17
|
+
def __getitem__(self, name: str) -> Optional[str]:
|
|
17
18
|
return _ws.get_secret(name)
|
|
18
19
|
|
|
19
20
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
_singlestoredb_accel.pyd,sha256=
|
|
2
|
-
singlestoredb/__init__.py,sha256=
|
|
1
|
+
_singlestoredb_accel.pyd,sha256=0BGsXA4gaZ4FEIdZPmk6HG18n-_UYqJnY0frj2MMMMo,59904
|
|
2
|
+
singlestoredb/__init__.py,sha256=eOYfIL2GGeeYeD3HtFLj7mQ0gqLmxp0P8M5boidemwI,1697
|
|
3
3
|
singlestoredb/auth.py,sha256=RmYiH0Wlc2RXc4pTlRMysxtBI445ggCIwojWKC_eDLE,7844
|
|
4
4
|
singlestoredb/config.py,sha256=9pVmVEZ23NfJ3pokdBDA0cX3bwUz6SbuT4AZWAcIPR4,12235
|
|
5
5
|
singlestoredb/connection.py,sha256=F8lTA62nwnQ_r9-WYANnbIBqacdAuX0wXGaET9PNkXA,46410
|
|
@@ -14,7 +14,7 @@ singlestoredb/functions/dtypes.py,sha256=5IwMSaSzxtSowxXrm5hZXW1lpNm6QILxiU4mAUE
|
|
|
14
14
|
singlestoredb/functions/signature.py,sha256=glxf8wVhwpsLOu9s9UEXPaXzBWvl_XN683_dpFyiQ6s,19539
|
|
15
15
|
singlestoredb/functions/ext/__init__.py,sha256=5ppI8IZN_zOwoJFdu_Oq9ipxtyHw9n6OMVAa_s9T_yY,24
|
|
16
16
|
singlestoredb/functions/ext/arrow.py,sha256=mQhwaMpvCH_dP92WIhP_j-stu272n4UAHsFUOBTgnq0,9436
|
|
17
|
-
singlestoredb/functions/ext/asgi.py,sha256=
|
|
17
|
+
singlestoredb/functions/ext/asgi.py,sha256=W4z-XyMvdNrEnEYicrP1hfLldI4H9FIEFIVvf4eXSA4,41195
|
|
18
18
|
singlestoredb/functions/ext/json.py,sha256=CROdj37cuJhAZ-CM93EI-SoLb4kxFcMGudsJ5QGyCoI,10831
|
|
19
19
|
singlestoredb/functions/ext/mmap.py,sha256=zo6eweOFCZp0KIzAeL1vvuSjqvQhE8ybVhHbU0ZICt4,14124
|
|
20
20
|
singlestoredb/functions/ext/rowdat_1.py,sha256=KYj_y5JWm3_B2-QC47HK-CNOrzujBqGUwLJfE49jwRg,23050
|
|
@@ -34,14 +34,14 @@ singlestoredb/management/__init__.py,sha256=CjK47iU4WXJoq24EcXqBPCat4efAY20FR4ql
|
|
|
34
34
|
singlestoredb/management/billing_usage.py,sha256=0UHFSPCrN0nyeGFFM-HXS3NP8pYmYo2BCCahDEPXvzg,3883
|
|
35
35
|
singlestoredb/management/cluster.py,sha256=0GhpuSt_rcFz5f1hzcRHK911KWFewljlV4GFtckB8uM,14822
|
|
36
36
|
singlestoredb/management/manager.py,sha256=QpWgu9W9n_HqxDJ4lAAFN7n1fhLB_BYkPy0_9uhGJvY,9107
|
|
37
|
-
singlestoredb/management/organization.py,sha256=
|
|
37
|
+
singlestoredb/management/organization.py,sha256=MjZ_tIoJGZwF95yfQ_Adz8LHYwkrKyj3p5JHDk6rWHE,5187
|
|
38
38
|
singlestoredb/management/region.py,sha256=oGoLLS88dE1GmY7GCc0BV7X3f7bWwKQyeXOVBFmK9Pk,1678
|
|
39
39
|
singlestoredb/management/utils.py,sha256=wVWeU7VKMqFs1SHSTXOHRPf-Egm4da6_cHraTfcLfaE,9511
|
|
40
|
-
singlestoredb/management/workspace.py,sha256=
|
|
40
|
+
singlestoredb/management/workspace.py,sha256=5YFYXk-jhEHjIeapX6zIXPsU0vUNo6P7S4l8eL2DOiA,63578
|
|
41
41
|
singlestoredb/mysql/__init__.py,sha256=CbpwzNUJPAmKPpIobC0-ugBta_RgHCMq7X7N75QLReY,4669
|
|
42
42
|
singlestoredb/mysql/_auth.py,sha256=YaqqyvAHmeraBv3BM207rNveUVPM-mPnW20ts_ynVWg,8341
|
|
43
43
|
singlestoredb/mysql/charset.py,sha256=mnCdMpvdub1S2mm2PSk2j5JddgsWRjsVLtGx-y9TskE,10724
|
|
44
|
-
singlestoredb/mysql/connection.py,sha256=
|
|
44
|
+
singlestoredb/mysql/connection.py,sha256=kM1pkAJht5VJCIqg7Pe_cmJVARPQtKhRsEE-VuDRT2A,72321
|
|
45
45
|
singlestoredb/mysql/converters.py,sha256=vebFFm6IrC0WgY-5Eh-esaPizY5cq3vDOUlEKGaYM-U,7771
|
|
46
46
|
singlestoredb/mysql/cursors.py,sha256=pkrP-1t8IhBJRnYpdM7Rdm-332nOq1RYTDJ_yg_q5HI,27682
|
|
47
47
|
singlestoredb/mysql/err.py,sha256=aDbmfq08gWVmfgIea735wSeiFdvYbB5wusgd3qTVq1s,2480
|
|
@@ -80,7 +80,7 @@ singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py,s
|
|
|
80
80
|
singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py,sha256=cN7ftSQIeoMh3npna9UUeNcBdzl6VYXU3Vo9jR-U-hY,8246
|
|
81
81
|
singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py,sha256=K4EnQCWI_4ShmCv6xHSBDo0B2HVbJvGGYHWygp2bBBk,2920
|
|
82
82
|
singlestoredb/notebook/__init__.py,sha256=AgSb4vTrco9yHS3oy0OQP-mA3iZgD0Famjzd732ters,506
|
|
83
|
-
singlestoredb/notebook/_objects.py,sha256=
|
|
83
|
+
singlestoredb/notebook/_objects.py,sha256=rDfHGLLwrnuhVMOyNojzrGamykyfOQxZfH2EnFd8vEw,8256
|
|
84
84
|
singlestoredb/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
85
85
|
singlestoredb/tests/empty.sql,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
86
86
|
singlestoredb/tests/local_infile.csv,sha256=0fYxcZcTvcwS2McF4sktFsipRY1G-ClGmCRR1eCqdEQ,45
|
|
@@ -111,9 +111,9 @@ singlestoredb/utils/dtypes.py,sha256=_P2fTX2Fgv9Bcl-2L6KivhWgLzyu91sDamxVnmG92Mw
|
|
|
111
111
|
singlestoredb/utils/mogrify.py,sha256=gCcn99-vgsGVjTUV7RHJ6hH4vCNrsGB_Xo4z8kiSPDQ,4201
|
|
112
112
|
singlestoredb/utils/results.py,sha256=wR70LhCqlobniZf52r67zYLBOKjWHQm68NAskdRQND8,15862
|
|
113
113
|
singlestoredb/utils/xdict.py,sha256=-wi1lSPTnY99fhVMBhPKJ8cCsQhNG4GMUfkEBDKYgCw,13321
|
|
114
|
-
singlestoredb-1.3.
|
|
115
|
-
singlestoredb-1.3.
|
|
116
|
-
singlestoredb-1.3.
|
|
117
|
-
singlestoredb-1.3.
|
|
118
|
-
singlestoredb-1.3.
|
|
119
|
-
singlestoredb-1.3.
|
|
114
|
+
singlestoredb-1.3.1.dist-info/LICENSE,sha256=Bojenzui8aPNjlF3w4ojguDP7sTf8vFV_9Gc2UAG1sg,11542
|
|
115
|
+
singlestoredb-1.3.1.dist-info/METADATA,sha256=zXTxhh2fWGshA5b1Lenx0ywO6jBszi7BZHZcQMnb0HE,5710
|
|
116
|
+
singlestoredb-1.3.1.dist-info/WHEEL,sha256=c4k7z5HB0t-y0nBCv6KyJ6KCjn8SEGPddD0lhaPtU3E,96
|
|
117
|
+
singlestoredb-1.3.1.dist-info/entry_points.txt,sha256=bSLaTWB5zGjpVYPAaI46MkkDup0su-eb3uAhCNYuRV0,48
|
|
118
|
+
singlestoredb-1.3.1.dist-info/top_level.txt,sha256=SDtemIXf-Kp-_F2f_S6x0db33cHGOILdAEsIQZe2LZc,35
|
|
119
|
+
singlestoredb-1.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|