Commit 0754abc
committed
Fix code to match cypthon expectation
It fails to convert unicode to 'str', we have to help it out.
```
Error compiling Cython file:
------------------------------------------------------------
...
if metadata_request_timeout is None:
return stmt
ms = int(metadata_request_timeout / datetime.timedelta(milliseconds=1))
if ms == 0:
return stmt
return f"{stmt} USING TIMEOUT {ms}ms"
^
------------------------------------------------------------
cassandra/util.py:1813:11: Cannot convert Unicode string to 'str' implicitly. This is not portable and requires explicit encoding.
```1 parent 5a48872 commit 0754abc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1810 | 1810 | | |
1811 | 1811 | | |
1812 | 1812 | | |
1813 | | - | |
| 1813 | + | |
0 commit comments