Skip to content

Commit

Permalink
Add decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
svdimchenko committed Apr 18, 2024
1 parent 3ca8a47 commit a922ce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/dbt/parser/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def extended_msgpack_encoder(obj):
elif type(obj) is datetime.datetime:
datetime_bytes = msgpack.ExtType(2, obj.isoformat().encode())
return datetime_bytes
elif type(obj) is agate:
elif isinstance(obj, agate.Table):
agate_bytes = msgpack.ExtType(3, "".encode())
return agate_bytes

Expand Down

0 comments on commit a922ce5

Please sign in to comment.