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

Implement clone() in Python #424

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Implement clone() in Python #424

wants to merge 6 commits into from

Conversation

khaeru
Copy link
Member

@khaeru khaeru commented Jul 22, 2021

Do not merge; development code.

This PR is a sketch of how to (re-)implement clone() in Python, to address #423, iiasa/message_ix#254, and other issues.

Some of the requirements:

  • clone() must not only work across 2 Platforms sharing the same Backend class (e.g. both JDBCBackend), but across different Backend classes, e.g. between a JDBCBacken and Add Python DB API backend #400 in either direction.

Things to check:

How to review

To be added.

PR checklist

  • Complete the code.
    • Extend item_set_elements() to cover variables and equations.
    • Complete the TODOs in clone().
  • Continuous integration checks all ✅
  • Add or expand tests; coverage checks both ✅
  • Add, expand, or update documentation.
  • Update release notes.

@khaeru khaeru added enh New features & functionality help welcome labels Jul 22, 2021
@khaeru khaeru marked this pull request as draft August 27, 2021 11:57
@khaeru khaeru changed the title 🚧 Implement clone() in Python Implement clone() in Python Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enh New features & functionality help welcome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant