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

Fancy dicts #9

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Fancy dicts #9

wants to merge 6 commits into from

Conversation

HWoidt
Copy link
Contributor

@HWoidt HWoidt commented Jan 27, 2017

Using fancy dicts as suggested in #8
it should be possible to simply exchange NormalizingDict with FuzzyDict to introduce levenshtein #4 for keeping the accounts in group.

@nagua
Copy link
Owner

nagua commented May 11, 2017

Hey, can you please rebase this?

@HWoidt
Copy link
Contributor Author

HWoidt commented May 27, 2017

This is rebased now, but I haven't tested it yet.

@nagua
Copy link
Owner

nagua commented May 29, 2017

The problem with this will probably, that backup files will not be converted to NormalizingDict's. So this will break, when I deploy this.

@nagua
Copy link
Owner

nagua commented May 29, 2017

It would be really cool, if it would be possible, to change the used dict in the config. And if it will be created on startup, so the database does not need to change. I do not know how this will be possible, but I hope that you have an idea, how to implement that :) .

@HWoidt
Copy link
Contributor Author

HWoidt commented May 30, 2017

We could serialize the fancy dicts into normal dicts and either do a post-processing after load to turn the normal dict into the fancy one, or provide yaml with some sort of factory function.

Are the accounts currently saved as a list or as a dict?

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.

2 participants