Skip to content

support deepcopy & copy #21

Open
acmol wants to merge 1 commit intoCue:masterfrom
acmol:master
Open

support deepcopy & copy #21
acmol wants to merge 1 commit intoCue:masterfrom
acmol:master

Conversation

@acmol
Copy link

@acmol acmol commented Nov 21, 2017

No description provided.

@acmol acmol changed the title support deepcopy & copy by serialize and deserialize support deepcopy & copy Nov 21, 2017
Copy link

@advancedxy advancedxy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, except one comment

self.assertEquals(pb.{{ field.name }}, pb2.{{ field.name }})
{% endfor %}

pb3 = copy.deepcopy(pb)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also add a copy.copy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants