feat: add custom metadata support#663
Conversation
|
@Archmonger this would be ready for a first review; is this in general to this projects standards, and what should I change / adapt? |
|
@Archmonger anything you want to see added/removed here? |
Archmonger
left a comment
There was a problem hiding this comment.
Code needs to be formatted via hatch fmt dbbackup/
Can be merged after addressing these remaining comments.
|
I think all comments should be addressed now; sorry about missing the formatting in contribution, I did not find a way to get |
|
Apologies for that. This repo does not have a All Python linting for I'll review/fix the contributing docs in a follow up PR. |
…w setter to return None, `_VALIDATOR` is a "secondary" validator, ensure user cannot manipulate original metadata.
c3365d4 to
c63cb04
Compare
Description
Implementation of the feature discussed in #660
This adds 2 settings and control flows that allow the addition and validation of custom data to the metadata file. This way it is easy to ensure the environment your restore in matches the condition needed for a restore.
Checklist
Please update this checklist as you complete each item:
By submitting this pull request I agree that all contributions comply with this project's open source license(s).