singlestoredb 0.8.3__cp36-abi3-win32.whl → 0.8.5__cp36-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 CHANGED
Binary file
singlestoredb/__init__.py CHANGED
@@ -13,7 +13,7 @@ Examples
13
13
 
14
14
  """
15
15
 
16
- __version__ = '0.8.3'
16
+ __version__ = '0.8.5'
17
17
 
18
18
  from .alchemy import create_engine
19
19
  from .config import options, get_option, set_option, describe_option
@@ -96,7 +96,7 @@ def cast_bool_param(val: Any) -> bool:
96
96
  if val.lower() in ['on', 't', 'true', 'y', 'yes', 'enabled', 'enable']:
97
97
  return True
98
98
  elif val.lower() in ['off', 'f', 'false', 'n', 'no', 'disabled', 'disable']:
99
- return True
99
+ return False
100
100
 
101
101
  raise ValueError('Unrecognized value for bool: {}'.format(val))
102
102
 
@@ -457,7 +457,7 @@ class Cursor(connection.Cursor):
457
457
 
458
458
  self._expect_results = False
459
459
  sql_type = 'exec'
460
- if re.match(r'^\s*(select|show|call|echo)\s+', oper, flags=re.I):
460
+ if re.match(r'^\s*(select|show|call|echo|describe)\s+', oper, flags=re.I):
461
461
  self._expect_results = True
462
462
  sql_type = 'query'
463
463
 
@@ -76,16 +76,16 @@ class TestConnection(unittest.TestCase):
76
76
  assert cbp('enable') is True, cbp('enable')
77
77
  assert cbp('enabled') is True, cbp('enabled')
78
78
 
79
- assert cbp('false') is True, cbp('false')
80
- assert cbp('f') is True, cbp('f')
81
- assert cbp('False') is True, cbp('False')
82
- assert cbp('F') is True, cbp('F')
83
- assert cbp('FALSE') is True, cbp('FALSE')
84
-
85
- assert cbp('off') is True, cbp('off')
86
- assert cbp('no') is True, cbp('no')
87
- assert cbp('disable') is True, cbp('disable')
88
- assert cbp('disabled') is True, cbp('disabled')
79
+ assert cbp('false') is False, cbp('false')
80
+ assert cbp('f') is False, cbp('f')
81
+ assert cbp('False') is False, cbp('False')
82
+ assert cbp('F') is False, cbp('F')
83
+ assert cbp('FALSE') is False, cbp('FALSE')
84
+
85
+ assert cbp('off') is False, cbp('off')
86
+ assert cbp('no') is False, cbp('no')
87
+ assert cbp('disable') is False, cbp('disable')
88
+ assert cbp('disabled') is False, cbp('disabled')
89
89
 
90
90
  with self.assertRaises(ValueError):
91
91
  cbp('nein')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: singlestoredb
3
- Version: 0.8.3
3
+ Version: 0.8.5
4
4
  Summary: Interface to the SingleStore database and cluster management APIs
5
5
  Home-page: https://github.com/singlestore-labs/singlestoredb-python
6
6
  Author: SingleStore
@@ -1,14 +1,14 @@
1
- _singlestoredb_accel.pyd,sha256=1xqUvIBYKdhwinpb1o_6Rs3DdacMqmFUF77Bzb-NSQ0,28672
2
- singlestoredb/__init__.py,sha256=yuwzOATVLCzhpi9-HDhRnRfbv01iaNEdS0Z28cf4XAA,909
1
+ _singlestoredb_accel.pyd,sha256=oGfua6fnNoi245FrYKE2H9uvaedHmk4luBJA8mfoD7Q,28672
2
+ singlestoredb/__init__.py,sha256=Jr1qDekjSTDDDywbMAiqdZ0fZWH0ZRUuekeCDFVK4h8,909
3
3
  singlestoredb/auth.py,sha256=RmYiH0Wlc2RXc4pTlRMysxtBI445ggCIwojWKC_eDLE,7844
4
4
  singlestoredb/config.py,sha256=ZFZi0LAX6CVg3-I1RE8-p-LB0lNlrDwlacmmRIHEarQ,7031
5
- singlestoredb/connection.py,sha256=cVa7xBuYQPW5OMIQGwFb5PsVJUZJE4WmS1isR1WcT80,45270
5
+ singlestoredb/connection.py,sha256=nLI0HJl_789Lx_Z9E-oRH70jycD8-TDvUwFgJI52IHc,45271
6
6
  singlestoredb/converters.py,sha256=stCOsEcZmkfG_Y3jtfIzUmDTt_aMKv4Ir1EDR_r0ceg,13075
7
7
  singlestoredb/exceptions.py,sha256=xZjB4nKM_cmHJMEeDSSoi7oc8c4J8gCeVZqCwpJnu8o,2555
8
8
  singlestoredb/types.py,sha256=Lv0BEQl6aSZBiAe0OSI07FEJhcHZ9HX45iT9NU_mxHQ,10334
9
9
  singlestoredb/alchemy/__init__.py,sha256=4Sj6O1tXh_FAvsXWY0e7vYOpZuNIuAYRYtsak3wv4Xs,2453
10
10
  singlestoredb/http/__init__.py,sha256=4cEDvLloGc3LSpU-PnIwacyu0n5oIIIE6xk2SPyWD_w,939
11
- singlestoredb/http/connection.py,sha256=tFj1BH6nC7aYypGlqtdK5MqUOXlL-W2ShpRvjDlt6Z0,33332
11
+ singlestoredb/http/connection.py,sha256=JQdY7JqMYUMsbtll4ooSKs95k47RLn7DnEup6QRCzHg,33341
12
12
  singlestoredb/management/__init__.py,sha256=pRxBjzZxNjnuAtBlv4WwYZF-2Z3dbrKoy5XilJRXT2w,102
13
13
  singlestoredb/management/cluster.py,sha256=psHQKS8trLD8A8A9yyLpsx7Lt9J7SqjlxbjE_9lTivo,14549
14
14
  singlestoredb/management/manager.py,sha256=wvyuH5Brqopioc-B7BqqjhYmBTeaeLykczFFoC9bmro,6736
@@ -60,7 +60,7 @@ singlestoredb/tests/local_infile.csv,sha256=0fYxcZcTvcwS2McF4sktFsipRY1G-ClGmCRR
60
60
  singlestoredb/tests/test.sql,sha256=jsrRew-Jyg-ZZDLW7EH6753x1Tn7qxM8tR7j_cqJBYg,9398
61
61
  singlestoredb/tests/test_basics.py,sha256=YKuSvDG9RfEoOxyziwPdeRsc7M9APaqQOl68ZGfhZ4w,44838
62
62
  singlestoredb/tests/test_config.py,sha256=Ad0PDmCnJMOyy9f7WTKiRasSR_3mYRByUlSb7k5ZySg,11502
63
- singlestoredb/tests/test_connection.py,sha256=F_ZAJOCqF80v9ggEamhMDA-MmMBUs6vVZnkBEGu7Ie8,52206
63
+ singlestoredb/tests/test_connection.py,sha256=0GRvsvUz8G2I5ah0lHI97XUVv6UI13A1D5UNHk7RRmc,52215
64
64
  singlestoredb/tests/test_dbapi.py,sha256=cNJoTEZvYG7ckcwT7xqlkJX-2TDEYGTDDU1Igucp48k,679
65
65
  singlestoredb/tests/test_exceptions.py,sha256=vscMYmdOJr0JmkTAJrNI2w0Q96Nfugjkrt5_lYnw8i0,1176
66
66
  singlestoredb/tests/test_http.py,sha256=7hwXe61hlUes3nji0MTTZweo94tJAlJ-vA5ct9geXFQ,8868
@@ -75,8 +75,8 @@ singlestoredb/utils/convert_rows.py,sha256=gkZeZazeJvimCYEQ1FdAC-AmMDwmFGCuP6mi6
75
75
  singlestoredb/utils/debug.py,sha256=y7dnJeJGt3U_BWXz9pLt1qNQREpPtumYX_sk1DiqG6Y,362
76
76
  singlestoredb/utils/results.py,sha256=ely2XVAHHejObjLibS3UcrPOuCO2g5aRtA3PxAMtE-g,5432
77
77
  singlestoredb/utils/xdict.py,sha256=-wi1lSPTnY99fhVMBhPKJ8cCsQhNG4GMUfkEBDKYgCw,13321
78
- singlestoredb-0.8.3.dist-info/LICENSE,sha256=Bojenzui8aPNjlF3w4ojguDP7sTf8vFV_9Gc2UAG1sg,11542
79
- singlestoredb-0.8.3.dist-info/METADATA,sha256=xRtoFKhLbN9MjJ4BJpPPmrdnouXycYg0Q2Q3pcVq5FE,7760
80
- singlestoredb-0.8.3.dist-info/WHEEL,sha256=_QnT23Vv5YRa4iRimE-BlP6ILVeuwvhs3ULTMOeMgOs,96
81
- singlestoredb-0.8.3.dist-info/top_level.txt,sha256=SDtemIXf-Kp-_F2f_S6x0db33cHGOILdAEsIQZe2LZc,35
82
- singlestoredb-0.8.3.dist-info/RECORD,,
78
+ singlestoredb-0.8.5.dist-info/LICENSE,sha256=Bojenzui8aPNjlF3w4ojguDP7sTf8vFV_9Gc2UAG1sg,11542
79
+ singlestoredb-0.8.5.dist-info/METADATA,sha256=xVULILSmpVuMH4z17obV2l9YbgFtMrOFtorMuuczfmY,7760
80
+ singlestoredb-0.8.5.dist-info/WHEEL,sha256=_QnT23Vv5YRa4iRimE-BlP6ILVeuwvhs3ULTMOeMgOs,96
81
+ singlestoredb-0.8.5.dist-info/top_level.txt,sha256=SDtemIXf-Kp-_F2f_S6x0db33cHGOILdAEsIQZe2LZc,35
82
+ singlestoredb-0.8.5.dist-info/RECORD,,