Skip to content

Conversation

lukaszsocha2
Copy link
Contributor

@lukaszsocha2 lukaszsocha2 commented Jan 7, 2022

BREAKING CHANGE: Enforcing using keyword only arguments in functions :

  • copy() in base_item.py file.py
  • create_shared_link() in item.py, web_link.py
  • get_shared_link() in item.py, web_link.py
  • remove_shared_link() in item.py
  • get() in base_object.py, item.py
  • update_info() in base_object.py, collaboration.py, item.py, metadata_template.py
  • delete() in base_object.py, folder.py, item.py, user.py
    Closes: SDK-1904

@lukaszsocha2 lukaszsocha2 force-pushed the sdk-1904-fix-liskov-substitution-violations branch from bb1a3c2 to 7160ac8 Compare January 7, 2022 16:45
@coveralls
Copy link

coveralls commented Jan 7, 2022

Pull Request Test Coverage Report for Build 2798

  • 36 of 36 (100.0%) changed or added relevant lines in 13 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.005%) to 93.674%

Totals Coverage Status
Change from base Build 2794: -0.005%
Covered Lines: 3243
Relevant Lines: 3462

💛 - Coveralls

@lukaszsocha2 lukaszsocha2 force-pushed the sdk-1904-fix-liskov-substitution-violations branch from 7160ac8 to fdb5e0d Compare January 10, 2022 17:42
…lations

BREAKING CHANGE: Changed function signatures:
  - get_url() in base_endpoint.py
  - copy() in 'base_item.py' 'file.py'
  - create_shared_link() in 'base_item.py', 'item.py'
  - get_shared_link() in 'base_item.py', 'item.py'
  - remove_shared_link() in 'base_item.py', 'item.py'
  - get() in base_object.py, 'item.py'
  - update_info() in base_object.py, collaboration.py, 'item.py', metadata_template.py
  - delete() in base_object.py, folder.py, 'item.py', user.py
Closes: SDK-1904
@lukaszsocha2 lukaszsocha2 force-pushed the sdk-1904-fix-liskov-substitution-violations branch from fdb5e0d to 1286eac Compare January 10, 2022 17:52
arjankowski
arjankowski previously approved these changes Jan 17, 2022
@lukaszsocha2 lukaszsocha2 changed the title fix: Changed some functions signarure to fix liskov substitution violations !feat: Changed some functions signarure to fix liskov substitution violations Jan 17, 2022
@lukaszsocha2 lukaszsocha2 changed the title !feat: Changed some functions signarure to fix liskov substitution violations feat!: Changed some functions signarure to fix liskov substitution violations Jan 17, 2022
@lukaszsocha2 lukaszsocha2 changed the title feat!: Changed some functions signarure to fix liskov substitution violations feat!: Changed some functions signatures to fix Liskov substitution violations Jan 17, 2022
@lukaszsocha2 lukaszsocha2 changed the title feat!: Changed some functions signatures to fix Liskov substitution violations feat!: Make some methods signatures to accept keyword only arguments Jan 17, 2022
@lukaszsocha2 lukaszsocha2 changed the title feat!: Make some methods signatures to accept keyword only arguments feat!: Change some methods signatures to accept keyword only arguments Jan 17, 2022
@lukaszsocha2 lukaszsocha2 merged commit 16ab086 into main Jan 17, 2022
@lukaszsocha2 lukaszsocha2 deleted the sdk-1904-fix-liskov-substitution-violations branch January 17, 2022 11:09
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.

4 participants