Skip to content

Commit

Permalink
fix: parse fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Jan 2, 2024
1 parent 811dfc5 commit 9132636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudrun/src/download/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def process_job():
log.logger.info(f"event.get_attributes(): {event.get_attributes()}")
#: todo, figure out how to parse the event data, it's binary protobuf
document = firestore.DocumentEventData()
document.ParseFromString(event.get_data())
document._pb.ParseFromString(event.get_data())
log.logger.info(f"dir(document): {dir(document)}")
data = document.value

Expand Down

0 comments on commit 9132636

Please sign in to comment.