We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15c5d1f commit e8c8dacCopy full SHA for e8c8dac
orso/types.py
@@ -90,7 +90,7 @@ def python_type(self) -> Type:
90
91
ORSO_TO_PYTHON_PARSER: dict = {
92
OrsoTypes.BOOLEAN: bool,
93
- OrsoTypes.BLOB: bytes,
+ OrsoTypes.BLOB: lambda x: x.encode("utf-8") if isinstance(x, str) else bytes(x),
94
OrsoTypes.DATE: lambda x: parse_iso(x).date(),
95
OrsoTypes.TIMESTAMP: parse_iso,
96
OrsoTypes.TIME: lambda x: parse_iso(x).time(),
orso/version.py
@@ -10,5 +10,5 @@
10
# See the License for the specific language governing permissions and
11
# limitations under the License.
12
13
-__version__: str = "0.0.186"
+__version__: str = "0.0.187"
14
__author__: str = "@joocer"
0 commit comments