singlestoredb 0.8.3__tar.gz → 0.8.5__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.

Potentially problematic release.


This version of singlestoredb might be problematic. Click here for more details.

Files changed (87) hide show
  1. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/PKG-INFO +1 -1
  2. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/setup.cfg +1 -1
  3. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/__init__.py +1 -1
  4. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/connection.py +1 -1
  5. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/http/connection.py +1 -1
  6. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_connection.py +10 -10
  7. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb.egg-info/PKG-INFO +1 -1
  8. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/LICENSE +0 -0
  9. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/README.md +0 -0
  10. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/setup.py +0 -0
  11. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/alchemy/__init__.py +0 -0
  12. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/auth.py +0 -0
  13. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/config.py +0 -0
  14. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/converters.py +0 -0
  15. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/exceptions.py +0 -0
  16. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/http/__init__.py +0 -0
  17. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/management/__init__.py +0 -0
  18. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/management/cluster.py +0 -0
  19. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/management/manager.py +0 -0
  20. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/management/region.py +0 -0
  21. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/management/utils.py +0 -0
  22. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/management/workspace.py +0 -0
  23. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/__init__.py +0 -0
  24. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/_auth.py +0 -0
  25. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/accel.c +0 -0
  26. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/charset.py +0 -0
  27. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/connection.py +0 -0
  28. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/constants/CLIENT.py +0 -0
  29. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/constants/COMMAND.py +0 -0
  30. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/constants/CR.py +0 -0
  31. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/constants/ER.py +0 -0
  32. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/constants/FIELD_TYPE.py +0 -0
  33. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/constants/FLAG.py +0 -0
  34. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/constants/SERVER_STATUS.py +0 -0
  35. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/constants/__init__.py +0 -0
  36. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/converters.py +0 -0
  37. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/cursors.py +0 -0
  38. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/err.py +0 -0
  39. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/optionfile.py +0 -0
  40. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/protocol.py +0 -0
  41. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/__init__.py +0 -0
  42. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/base.py +0 -0
  43. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/conftest.py +0 -0
  44. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_DictCursor.py +0 -0
  45. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_SSCursor.py +0 -0
  46. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_basic.py +0 -0
  47. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_connection.py +0 -0
  48. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_converters.py +0 -0
  49. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_cursor.py +0 -0
  50. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_err.py +0 -0
  51. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_issues.py +0 -0
  52. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_load_local.py +0 -0
  53. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_nextset.py +0 -0
  54. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/test_optionfile.py +0 -0
  55. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/thirdparty/__init__.py +0 -0
  56. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/__init__.py +0 -0
  57. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/capabilities.py +0 -0
  58. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/dbapi20.py +0 -0
  59. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py +0 -0
  60. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py +0 -0
  61. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py +0 -0
  62. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/mysql/times.py +0 -0
  63. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/__init__.py +0 -0
  64. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/empty.sql +0 -0
  65. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/local_infile.csv +0 -0
  66. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test.sql +0 -0
  67. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_basics.py +0 -0
  68. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_config.py +0 -0
  69. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_dbapi.py +0 -0
  70. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_exceptions.py +0 -0
  71. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_http.py +0 -0
  72. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_management.py +0 -0
  73. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_results.py +0 -0
  74. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_types.py +0 -0
  75. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/test_xdict.py +0 -0
  76. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/tests/utils.py +0 -0
  77. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/types.py +0 -0
  78. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/utils/__init__.py +0 -0
  79. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/utils/config.py +0 -0
  80. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/utils/convert_rows.py +0 -0
  81. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/utils/debug.py +0 -0
  82. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/utils/results.py +0 -0
  83. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb/utils/xdict.py +0 -0
  84. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb.egg-info/SOURCES.txt +0 -0
  85. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb.egg-info/dependency_links.txt +0 -0
  86. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb.egg-info/requires.txt +0 -0
  87. {singlestoredb-0.8.3 → singlestoredb-0.8.5}/singlestoredb.egg-info/top_level.txt +0 -0
@@ -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,6 +1,6 @@
1
1
  [metadata]
2
2
  name = singlestoredb
3
- version = 0.8.3
3
+ version = 0.8.5
4
4
  description = Interface to the SingleStore database and cluster management APIs
5
5
  long_description = file: README.md
6
6
  long_description_content_type = text/markdown
@@ -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
File without changes
File without changes
File without changes