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

Define a DataStructure MigrationSummary #16

Open
hf-kklein opened this issue Dec 19, 2022 · 1 comment
Open

Define a DataStructure MigrationSummary #16

hf-kklein opened this issue Dec 19, 2022 · 1 comment
Assignees

Comments

@hf-kklein
Copy link
Contributor

Define a data structure MigrationSummary that collects information about a migration run (using the MigrationStrategy from #15).
It shall be meaningful and summarize what happend from source to target.
Note that some information are already being logged, e.g. in the validation or the filter.

Originally posted by @hf-kklein in #15 (comment)

@hf-kklein
Copy link
Contributor Author

please use attrs:

@attrs.define(auto_attribs=True, kw_only=True)
class MigrationSummary:
    attributes = attrs.field(...)
    go = attrs.field(...)
    here = attrs.field(...)

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

No branches or pull requests

2 participants