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

fix: missing api_call decorators on multiput calls #653

Merged
merged 5 commits into from
Jan 7, 2022

Conversation

DaveSawyer
Copy link
Contributor

@DaveSawyer DaveSawyer commented Dec 31, 2021

This allows callers to pass extra_network_parameters. Issue #655

@DaveSawyer DaveSawyer changed the title Fix missing api_call decorators on multiput calls Fix: missing api_call decorators on multiput calls Dec 31, 2021
@DaveSawyer DaveSawyer changed the title Fix: missing api_call decorators on multiput calls fix: missing api_call decorators on multiput calls Dec 31, 2021
@coveralls
Copy link

coveralls commented Dec 31, 2021

Pull Request Test Coverage Report for Build 2783

  • 5 of 5 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.009%) to 93.68%

Totals Coverage Status
Change from base Build 2781: 0.009%
Covered Lines: 3246
Relevant Lines: 3465

💛 - Coveralls

@@ -18,6 +19,7 @@ class UploadSession(BaseObject):
_item_type = 'upload_session'
_parent_item_type = 'file'

@api_call
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any reason for adding api_call decorator to get_url() method? In other places we didn't put this decorator on this method

Copy link
Contributor Author

Choose a reason for hiding this comment

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

looks like this doesn't result in a network call so I removed it.

@lukaszsocha2
Copy link
Contributor

Generally looks ok, but left one question

Copy link
Contributor

@lukaszsocha2 lukaszsocha2 left a comment

Choose a reason for hiding this comment

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

Looks good

@lukaszsocha2 lukaszsocha2 merged commit e8abbb5 into box:main Jan 7, 2022
@DaveSawyer DaveSawyer deleted the dave/chunk_net branch January 7, 2022 19:38
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.

3 participants