singlestoredb 1.6.0__tar.gz → 1.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.

Potentially problematic release.


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

Files changed (130) hide show
  1. {singlestoredb-1.6.0/singlestoredb.egg-info → singlestoredb-1.6.2}/PKG-INFO +1 -1
  2. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/accel.c +3 -3
  3. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/setup.cfg +1 -1
  4. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/__init__.py +1 -1
  5. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/connection.py +7 -6
  6. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_basics.py +58 -0
  7. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_fusion.py +4 -2
  8. {singlestoredb-1.6.0 → singlestoredb-1.6.2/singlestoredb.egg-info}/PKG-INFO +1 -1
  9. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/LICENSE +0 -0
  10. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/README.md +0 -0
  11. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/setup.py +0 -0
  12. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/ai/__init__.py +0 -0
  13. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/ai/embeddings.py +0 -0
  14. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/alchemy/__init__.py +0 -0
  15. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/auth.py +0 -0
  16. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/config.py +0 -0
  17. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/connection.py +0 -0
  18. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/converters.py +0 -0
  19. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/exceptions.py +0 -0
  20. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/__init__.py +0 -0
  21. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/decorator.py +0 -0
  22. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/dtypes.py +0 -0
  23. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/ext/__init__.py +0 -0
  24. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/ext/arrow.py +0 -0
  25. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/ext/asgi.py +0 -0
  26. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/ext/json.py +0 -0
  27. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/ext/mmap.py +0 -0
  28. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/ext/rowdat_1.py +0 -0
  29. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/ext/utils.py +0 -0
  30. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/functions/signature.py +0 -0
  31. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/__init__.py +0 -0
  32. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/graphql.py +0 -0
  33. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/handler.py +0 -0
  34. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/handlers/__init__.py +0 -0
  35. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/handlers/job.py +0 -0
  36. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/handlers/stage.py +0 -0
  37. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/handlers/utils.py +0 -0
  38. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/handlers/workspace.py +0 -0
  39. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/registry.py +0 -0
  40. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/fusion/result.py +0 -0
  41. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/http/__init__.py +0 -0
  42. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/http/connection.py +0 -0
  43. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/management/__init__.py +0 -0
  44. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/management/billing_usage.py +0 -0
  45. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/management/cluster.py +0 -0
  46. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/management/job.py +0 -0
  47. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/management/manager.py +0 -0
  48. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/management/organization.py +0 -0
  49. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/management/region.py +0 -0
  50. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/management/utils.py +0 -0
  51. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/management/workspace.py +0 -0
  52. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/__init__.py +0 -0
  53. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/_auth.py +0 -0
  54. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/charset.py +0 -0
  55. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/CLIENT.py +0 -0
  56. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/COMMAND.py +0 -0
  57. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/CR.py +0 -0
  58. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/ER.py +0 -0
  59. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/EXTENDED_TYPE.py +0 -0
  60. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/FIELD_TYPE.py +0 -0
  61. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/FLAG.py +0 -0
  62. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/SERVER_STATUS.py +0 -0
  63. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/VECTOR_TYPE.py +0 -0
  64. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/constants/__init__.py +0 -0
  65. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/converters.py +0 -0
  66. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/cursors.py +0 -0
  67. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/err.py +0 -0
  68. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/optionfile.py +0 -0
  69. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/protocol.py +0 -0
  70. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/__init__.py +0 -0
  71. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/base.py +0 -0
  72. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/conftest.py +0 -0
  73. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_DictCursor.py +0 -0
  74. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_SSCursor.py +0 -0
  75. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_basic.py +0 -0
  76. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_connection.py +0 -0
  77. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_converters.py +0 -0
  78. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_cursor.py +0 -0
  79. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_err.py +0 -0
  80. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_issues.py +0 -0
  81. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_load_local.py +0 -0
  82. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_nextset.py +0 -0
  83. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/test_optionfile.py +0 -0
  84. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/thirdparty/__init__.py +0 -0
  85. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/__init__.py +0 -0
  86. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/capabilities.py +0 -0
  87. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/dbapi20.py +0 -0
  88. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_capabilities.py +0 -0
  89. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_dbapi20.py +0 -0
  90. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/tests/thirdparty/test_MySQLdb/test_MySQLdb_nonstandard.py +0 -0
  91. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/mysql/times.py +0 -0
  92. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/notebook/__init__.py +0 -0
  93. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/notebook/_objects.py +0 -0
  94. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/notebook/_portal.py +0 -0
  95. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/pytest.py +0 -0
  96. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/__init__.py +0 -0
  97. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/empty.sql +0 -0
  98. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/ext_funcs/__init__.py +0 -0
  99. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/local_infile.csv +0 -0
  100. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test.sql +0 -0
  101. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test2.sql +0 -0
  102. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_config.py +0 -0
  103. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_connection.py +0 -0
  104. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_dbapi.py +0 -0
  105. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_exceptions.py +0 -0
  106. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_ext_func.py +0 -0
  107. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_ext_func_data.py +0 -0
  108. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_http.py +0 -0
  109. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_management.py +0 -0
  110. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_plugin.py +0 -0
  111. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_results.py +0 -0
  112. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_types.py +0 -0
  113. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_udf.py +0 -0
  114. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/test_xdict.py +0 -0
  115. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/tests/utils.py +0 -0
  116. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/types.py +0 -0
  117. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/utils/__init__.py +0 -0
  118. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/utils/config.py +0 -0
  119. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/utils/convert_rows.py +0 -0
  120. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/utils/debug.py +0 -0
  121. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/utils/dtypes.py +0 -0
  122. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/utils/events.py +0 -0
  123. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/utils/mogrify.py +0 -0
  124. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/utils/results.py +0 -0
  125. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb/utils/xdict.py +0 -0
  126. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb.egg-info/SOURCES.txt +0 -0
  127. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb.egg-info/dependency_links.txt +0 -0
  128. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb.egg-info/entry_points.txt +0 -0
  129. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb.egg-info/requires.txt +0 -0
  130. {singlestoredb-1.6.0 → singlestoredb-1.6.2}/singlestoredb.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: singlestoredb
3
- Version: 1.6.0
3
+ Version: 1.6.2
4
4
  Summary: Interface to the SingleStoreDB database and workspace management APIs
5
5
  Home-page: https://github.com/singlestore-labs/singlestoredb-python
6
6
  Author: SingleStore
@@ -1297,10 +1297,10 @@ static unsigned long long read_length_encoded_integer(
1297
1297
  if (is_null) *is_null = 1;
1298
1298
  return 0;
1299
1299
  }
1300
- uint16_t low = **(uint8_t**)data;
1301
- *data += 1; *data_l -= 1;
1302
- uint16_t high = **(uint16_t**)data;
1300
+ uint16_t low = **(uint16_t**)data;
1303
1301
  *data += 2; *data_l -= 2;
1302
+ uint8_t high = **(uint8_t**)data;
1303
+ *data += 1; *data_l -= 1;
1304
1304
  return low + (high << 16);
1305
1305
  }
1306
1306
 
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = singlestoredb
3
- version = 1.6.0
3
+ version = 1.6.2
4
4
  description = Interface to the SingleStoreDB database and workspace 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__ = '1.6.0'
16
+ __version__ = '1.6.2'
17
17
 
18
18
  from typing import Any
19
19
 
@@ -716,6 +716,7 @@ class Connection(BaseConnection):
716
716
  Error : If the connection is already closed.
717
717
 
718
718
  """
719
+ self._result = None
719
720
  if self.host == 'singlestore.com':
720
721
  return
721
722
  if self._closed:
@@ -1909,12 +1910,12 @@ class MySQLResultSV(MySQLResult):
1909
1910
  encoding_errors=connection.encoding_errors,
1910
1911
  ).items() if v is not UNSET
1911
1912
  }
1912
- self._read_rowdata_packet = functools.partial(
1913
- _singlestoredb_accel.read_rowdata_packet, self, False,
1914
- )
1915
- self._read_rowdata_packet_unbuffered = functools.partial(
1916
- _singlestoredb_accel.read_rowdata_packet, self, True,
1917
- )
1913
+
1914
+ def _read_rowdata_packet(self, *args, **kwargs):
1915
+ return _singlestoredb_accel.read_rowdata_packet(self, False, *args, **kwargs)
1916
+
1917
+ def _read_rowdata_packet_unbuffered(self, *args, **kwargs):
1918
+ return _singlestoredb_accel.read_rowdata_packet(self, True, *args, **kwargs)
1918
1919
 
1919
1920
 
1920
1921
  class LoadLocalFile:
@@ -1197,6 +1197,64 @@ class TestBasics(unittest.TestCase):
1197
1197
  cur.execute('SELECT * FROM badutf8')
1198
1198
  list(cur)
1199
1199
 
1200
+ def test_character_lengths(self):
1201
+ if 'http' in self.conn.driver:
1202
+ self.skipTest('Character lengths too long for HTTP interface')
1203
+
1204
+ tbl_id = str(id(self))
1205
+
1206
+ self.cur.execute('DROP TABLE IF EXISTS test_character_lengths')
1207
+ self.cur.execute(rf'''
1208
+ CREATE TABLE `test_character_lengths_{tbl_id}` (
1209
+ `id` text CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
1210
+ `char_col` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
1211
+ `int_col` INT,
1212
+ PRIMARY KEY (`id`),
1213
+ SORT KEY `id` (`id`)
1214
+ ) AUTOSTATS_CARDINALITY_MODE=INCREMENTAL
1215
+ AUTOSTATS_HISTOGRAM_MODE=CREATE
1216
+ AUTOSTATS_SAMPLING=ON
1217
+ SQL_MODE='STRICT_ALL_TABLES'
1218
+ ''')
1219
+
1220
+ CHAR_STR_SHORT = 'a'
1221
+ CHAR_STR_LONG = 'a' * (2**8-1)
1222
+ SHORT_STR_SHORT = 'a' * ((2**8-1) + 1)
1223
+ SHORT_STR_LONG = 'a' * (2**16-1)
1224
+ INT24_STR_SHORT = 'a' * ((2**16-1) + 1)
1225
+ INT24_STR_LONG = 'a' * (2**24-1)
1226
+ INT64_STR_SHORT = 'a' * ((2**24-1) + 1)
1227
+ INT64_STR_LONG = 'a' * ((2**24-1) + 100000)
1228
+
1229
+ data = [
1230
+ ['CHAR_SHORT', CHAR_STR_SHORT, 123456],
1231
+ ['CHAR_LONG', CHAR_STR_LONG, 123456],
1232
+ ['SHORT_SHORT', SHORT_STR_SHORT, 123456],
1233
+ ['SHORT_LONG', SHORT_STR_LONG, 123456],
1234
+ ['INT24_SHORT', INT24_STR_SHORT, 123456],
1235
+ ['INT24_LONG', INT24_STR_LONG, 123456],
1236
+ ['INT64_SHORT', INT64_STR_SHORT, 123456],
1237
+ ['INT64_LONG', INT64_STR_LONG, 123456],
1238
+ ]
1239
+
1240
+ self.cur.executemany(
1241
+ f'INSERT INTO test_character_lengths_{tbl_id}(id, char_col, int_col) '
1242
+ 'VALUES (%s, %s, %s)', data,
1243
+ )
1244
+
1245
+ for i, row in enumerate(data):
1246
+ self.cur.execute(
1247
+ f'SELECT id, char_col, int_col FROM test_character_lengths_{tbl_id} '
1248
+ 'WHERE id = %s',
1249
+ [row[0]],
1250
+ )
1251
+ assert data[i] == list(list(self.cur)[0])
1252
+
1253
+ try:
1254
+ self.cur.execute(f'DROP TABLE test_character_lengths_{tbl_id}')
1255
+ except Exception:
1256
+ pass
1257
+
1200
1258
 
1201
1259
  if __name__ == '__main__':
1202
1260
  import nose2
@@ -685,7 +685,8 @@ class TestJobsFusion(unittest.TestCase):
685
685
  'Status', 'ScheduledStartTime', 'StartedAt', 'FinishedAt',
686
686
  ]
687
687
  exec_job_ids = [x[2] for x in out]
688
- assert [x for x in exec_job_ids] == [job_id]
688
+ for x in exec_job_ids:
689
+ assert x == job_id
689
690
 
690
691
  # show executions for job with id job_id from 1 to 5 extended
691
692
  self.cur.execute(f'show job executions for {job_id} from 1 to 5 extended')
@@ -698,7 +699,8 @@ class TestJobsFusion(unittest.TestCase):
698
699
  'SnapshotNotebookPath',
699
700
  ]
700
701
  exec_job_ids = [x[2] for x in out]
701
- assert [x for x in exec_job_ids] == [job_id]
702
+ for x in exec_job_ids:
703
+ assert x == job_id
702
704
 
703
705
  # drop job
704
706
  self.cur.execute(f'drop jobs {job_id}')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: singlestoredb
3
- Version: 1.6.0
3
+ Version: 1.6.2
4
4
  Summary: Interface to the SingleStoreDB database and workspace 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