Skip to content

Add Blob._from_proto() and Blob._as_proto()#901

Merged
convoliution merged 4 commits into
masterfrom
client/ml/rebase-translation
Jun 29, 2020
Merged

Add Blob._from_proto() and Blob._as_proto()#901
convoliution merged 4 commits into
masterfrom
client/ml/rebase-translation

Conversation

@convoliution
Copy link
Copy Markdown
Contributor

@convoliution convoliution commented Jun 29, 2020

Until now, interacting with a blob's _msg attribute was the way to translate between these Python objects and protobuf messages.

This PR begins the shift away from that practice by implementing a _from_proto() and _as_proto() interface for blobs. This is only a start, as these methods still rely on the _msg attribute.

@convoliution convoliution self-assigned this Jun 29, 2020
@convoliution convoliution changed the title (Rebased) Add Blob._from_proto() and Blob._as_proto() Add Blob._from_proto() and Blob._as_proto() Jun 29, 2020
@convoliution convoliution merged commit 612a052 into master Jun 29, 2020
@convoliution convoliution deleted the client/ml/rebase-translation branch June 29, 2020 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants