Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Object copy, compose and rewrite RPCs #48

Merged
merged 4 commits into from
Aug 18, 2021
Merged

feat: add Object copy, compose and rewrite RPCs #48

merged 4 commits into from
Aug 18, 2021

Conversation

coryan
Copy link
Contributor

@coryan coryan commented Aug 17, 2021

Part of the work for #24

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 17, 2021
@coryan coryan changed the title Feat emulator add object copy and rewrite feat: add Object copy, compose and rewrite RPCs Aug 17, 2021
@codecov
Copy link

codecov bot commented Aug 17, 2021

Codecov Report

Merging #48 (6886836) into main (5ca5ab9) will increase coverage by 0.07%.
The diff coverage is 99.22%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #48      +/-   ##
==========================================
+ Coverage   97.38%   97.45%   +0.07%     
==========================================
  Files          29       30       +1     
  Lines        3172     3301     +129     
==========================================
+ Hits         3089     3217     +128     
- Misses         83       84       +1     
Flag Coverage Δ
unittests 97.45% <99.22%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
tests/test_emulator_object_special.py 99.22% <99.22%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5ca5ab9...6886836. Read the comment docs.

@coryan coryan marked this pull request as ready for review August 17, 2021 21:54
@coryan coryan requested a review from a team August 17, 2021 21:54
@coryan
Copy link
Contributor Author

coryan commented Aug 18, 2021

Done, PTAL.

emulator.py Outdated
)
composed_media = b""
for source_object in source_objects:
print("%s\n" % source_object)
Copy link
Contributor

Choose a reason for hiding this comment

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

The code refactor here looks much more clear. Thanks!
Is this print statement for testing purposes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Doh! I was supposed to remove that. Done.

Copy link
Contributor

@cojenco cojenco left a comment

Choose a reason for hiding this comment

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

Great tests! Thank you!

@coryan coryan merged commit fa8e301 into googleapis:main Aug 18, 2021
@coryan coryan deleted the feat-emulator-add-object-copy-and-rewrite branch August 18, 2021 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants