Skip to content

Commit

Permalink
Merge pull request #11 from asanger/main
Browse files Browse the repository at this point in the history
fix(blobs): Fixes error when channel_values contain a null. #10
  • Loading branch information
tjni authored Nov 22, 2024
2 parents 46a2599 + 1e8775e commit c181314
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion langgraph/checkpoint/mysql/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@


def decode_base64_blob(base64_blob: MySQLBase64Blob) -> bytes:
if not base64_blob:
return None
_, data = base64_blob.rsplit(":", 1)
return base64.b64decode(data)


class MySQLPendingWrite(NamedTuple):
"""
The pending write tuple we receive from our DB query.
Expand Down

0 comments on commit c181314

Please sign in to comment.