Skip to content

Fancy dicts - #9

Open
HWoidt wants to merge 6 commits into
nagua:masterfrom
HWoidt:fancy_dicts
Open

Fancy dicts#9
HWoidt wants to merge 6 commits into
nagua:masterfrom
HWoidt:fancy_dicts

Conversation

@HWoidt

@HWoidt HWoidt commented Jan 27, 2017

Copy link
Copy Markdown
Contributor

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

nagua commented May 11, 2017

Copy link
Copy Markdown
Owner

Hey, can you please rebase this?

@HWoidt

HWoidt commented May 27, 2017

Copy link
Copy Markdown
Contributor Author

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

@nagua

nagua commented May 29, 2017

Copy link
Copy Markdown
Owner

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

nagua commented May 29, 2017

Copy link
Copy Markdown
Owner

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

HWoidt commented May 30, 2017

Copy link
Copy Markdown
Contributor Author

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