Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feat: support user storage proxy for string type doc_id#224

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
msiemens merged 6 commits intomsiemens:masterfromCologler:master
Aug 9, 2018
Merged

Feat: support user storage proxy for string type doc_id#224

msiemens merged 6 commits intomsiemens:masterfromCologler:master
Aug 9, 2018

Conversation

@Cologler
Copy link
Contributor

for#221 .

examples see the added unittest.

@msiemensmsiemens self-requested a reviewAugust 9, 2018 09:18
Copy link
Owner

@msiemensmsiemens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

One change request, otherwise this should be fine 🙂

self._storage=storage
self._table_name=table_name

defconstruct_doc(self,key,val):
Copy link
Owner

@msiemensmsiemensAug 9, 2018
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Could we rename this to an internal method and also use something like_new_document(…)?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

a new commit for that.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Awesome! Now you just need to adapt the example in

defconstruct_doc(self,key,val):
returnDocument(val,key)
🙂

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

😂

@msiemensmsiemens merged commitdbd449d intomsiemens:masterAug 9, 2018
@msiemens
Copy link
Owner

Thanks for the idea, the contribution and the modifications,@Cologler! I'll try to bundle up a release of TinyDB next week 🙂

@msiemens
Copy link
Owner

I've now released v3.11 🙂 I've also changed the parameter name tostorage_proxy_class for consistency

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@msiemensmsiemensmsiemens approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@Cologler@msiemens

[8]ページ先頭

©2009-2025 Movatter.jp