Skip to content

Commit e8c8dac

Browse files
committed
0.0.187
1 parent 15c5d1f commit e8c8dac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

orso/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def python_type(self) -> Type:
9090

9191
ORSO_TO_PYTHON_PARSER: dict = {
9292
OrsoTypes.BOOLEAN: bool,
93-
OrsoTypes.BLOB: bytes,
93+
OrsoTypes.BLOB: lambda x: x.encode("utf-8") if isinstance(x, str) else bytes(x),
9494
OrsoTypes.DATE: lambda x: parse_iso(x).date(),
9595
OrsoTypes.TIMESTAMP: parse_iso,
9696
OrsoTypes.TIME: lambda x: parse_iso(x).time(),

orso/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
# See the License for the specific language governing permissions and
1111
# limitations under the License.
1212

13-
__version__: str = "0.0.186"
13+
__version__: str = "0.0.187"
1414
__author__: str = "@joocer"

0 commit comments

Comments
 (0)