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

Transfer ownership of asset and its children to a different account. #983

Merged
merged 4 commits into from Feb 20, 2024

Conversation

victorgarcia98
Copy link
Contributor

Description

This PR introduces a new command to transfer the ownership of an asset and its children to a different account.

Look & Feel

flexmeasures edit transfer-ownership --asset 1 --account 2

How to test

Currently, we are not running the CLI test on the GH pipe, please, consider run pytest locally.


  • I agree to contribute to the project under Apache 2 License.
  • To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
Copy link
Contributor

@nhoening nhoening left a comment

Choose a reason for hiding this comment

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

Very nice. I have just a few improvements.

documentation/changelog.rst Outdated Show resolved Hide resolved
flexmeasures/cli/data_edit.py Outdated Show resolved Hide resolved
flexmeasures/cli/tests/conftest.py Outdated Show resolved Hide resolved
flexmeasures/cli/tests/test_data_edit.py Outdated Show resolved Hide resolved
Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
Copy link
Contributor

@nhoening nhoening left a comment

Choose a reason for hiding this comment

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

Great. I approve, but I believe I have yet one more valuable tiny improvement to suggest :)

Signed-off-by: Victor Garcia Reolid <victor@seita.nl>
@victorgarcia98 victorgarcia98 merged commit 8b25ae9 into main Feb 20, 2024
9 checks passed
@victorgarcia98 victorgarcia98 deleted the feature/cli/transfer-ownership branch February 20, 2024 11:20
@Flix6x Flix6x added this to the 0.20 milestone Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants