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

[JUJU-704] Remove non-implemented (stuıb) functions #646

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

cderici
Copy link
Contributor

@cderici cderici commented Mar 3, 2022

Description

This removes the stub functions that just raise NotImplementedError. Note that we still use that error for vaious sub-functionalities or corner cases that are yet to be implemented. This only removes the functions that stays in the code as stubs.

QA Steps

CI tests should pass.

Notes & Discussion

This also introduces AbstractMethodError for @abstractmethod functions to raise instead of raising the NotImplementedError.

... instead of raising NotImplementedError. Note that we still use the
NotImplementedError for vaious sub-functionalities or corner cases
that are yet to be implementeed. This only removes the functions that
stays in the code as stubs.
@cderici
Copy link
Contributor Author

cderici commented Mar 3, 2022

!!build!!

@cderici
Copy link
Contributor Author

cderici commented Mar 3, 2022

$$merge$$

@jujubot jujubot merged commit 9ef8e6a into juju:master Mar 3, 2022
@cderici cderici deleted the remove-not-implemented-functions branch March 9, 2022 21:21
jujubot added a commit that referenced this pull request Mar 21, 2022
#655

## What's Changed
* [JUJU-567] Use ModelManager instead of ControllerFacade to list available models by @cderici in #632
* [JUJU-573] Fix charm resolution for Juju 2.8.11 by @cderici in #633
* [JUJU-704] Remove non-implemented (stuıb) functions by @cderici in #646
* [JUJU-676] Avoid defaulting to empty string for charm origin by @cderici in #647
* Charmstore compatability of deploying bundles by @addyess in #650
* [JUJU-731] Subordinate charm num unit by @cderici in #648
* [JUJU-769] Facade schemas for 2.9.27 by @cderici in #652
* [JUJU-771] Auto switch to scale from add_unit on container based models by @cderici in #653

[JUJU-567]: https://warthogs.atlassian.net/browse/JUJU-567?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-573]: https://warthogs.atlassian.net/browse/JUJU-573?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-704]: https://warthogs.atlassian.net/browse/JUJU-704?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-676]: https://warthogs.atlassian.net/browse/JUJU-676?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-731]: https://warthogs.atlassian.net/browse/JUJU-731?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-769]: https://warthogs.atlassian.net/browse/JUJU-769?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-771]: https://warthogs.atlassian.net/browse/JUJU-771?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
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