wmill 1.593.0__py3-none-any.whl → 1.599.3__py3-none-any.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 wmill might be problematic. Click here for more details.
wmill/client.py
CHANGED
|
@@ -2279,6 +2279,19 @@ class SqlQuery:
|
|
|
2279
2279
|
"""
|
|
2280
2280
|
return self.fetch(result_collection="last_statement_first_row")
|
|
2281
2281
|
|
|
2282
|
+
def fetch_one_scalar(self):
|
|
2283
|
+
"""Execute query and fetch first row of results. Return result as a scalar value.
|
|
2284
|
+
|
|
2285
|
+
Returns:
|
|
2286
|
+
First row of query result as a scalar value
|
|
2287
|
+
"""
|
|
2288
|
+
return self.fetch(result_collection="last_statement_first_row_scalar")
|
|
2289
|
+
|
|
2290
|
+
def execute(self):
|
|
2291
|
+
"""Execute query and don't return any results.
|
|
2292
|
+
"""
|
|
2293
|
+
self.fetch_one()
|
|
2294
|
+
|
|
2282
2295
|
def infer_sql_type(value) -> str:
|
|
2283
2296
|
"""
|
|
2284
2297
|
DuckDB executor requires explicit argument types at declaration
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
wmill/__init__.py,sha256=nGZnQPezTdrBnBW1D0JqUtm75Gdf_xi3tAcPGwHRZ5A,46
|
|
2
|
-
wmill/client.py,sha256=
|
|
2
|
+
wmill/client.py,sha256=QhJbL2osMHO-v_ngjvB1_r8gtasS43_CwzOTsH6e5ek,72774
|
|
3
3
|
wmill/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
|
|
4
4
|
wmill/s3_reader.py,sha256=ySd1R2F9krbyhFU_-ogGDZAWQsF2CkPgq7K7xCEvhDU,2662
|
|
5
5
|
wmill/s3_types.py,sha256=gQZRdQoDRp7IRS9MTgGAiHZr1MIdtrbWeN-NJ28kIkA,1804
|
|
6
|
-
wmill-1.
|
|
7
|
-
wmill-1.
|
|
8
|
-
wmill-1.
|
|
6
|
+
wmill-1.599.3.dist-info/METADATA,sha256=m-hV0i9jkW5MSeInzFaNO_VrHnChpriTeASEf71HyMM,2693
|
|
7
|
+
wmill-1.599.3.dist-info/WHEEL,sha256=d2fvjOD7sXsVzChCqf0Ty0JbHKBaLYwDbGQDwQTnJ50,88
|
|
8
|
+
wmill-1.599.3.dist-info/RECORD,,
|
|
File without changes
|