Skip to content

Simplify persistence - #2873

Merged
Bibo-Joshi merged 6 commits into
v14from
simplify-persistence
Feb 1, 2022
Merged

Simplify persistence#2873
Bibo-Joshi merged 6 commits into
v14from
simplify-persistence

Conversation

@harshil21

Copy link
Copy Markdown
Member

Closes #2871

Checklist for PRs

  • Added .. versionadded:: version, .. versionchanged:: version or .. deprecated:: version to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)
  • Created new or adapted existing unit tests
  • Added myself alphabetically to AUTHORS.rst (optional)
  • Added new classes & modules to the docs

@harshil21 harshil21 added 📋 pending-review work status: pending-review 🛠 refactor change type: refactor labels Jan 21, 2022
@harshil21 harshil21 added this to the v14 milestone Jan 21, 2022

@Bibo-Joshi Bibo-Joshi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

you are quick! :)

Please revert the changes to dispatcher (except maybe for _chat_data -> chat_data). they are not related to the PR and tbh they don't change much at all anyway …

Comment thread telegram/ext/_basepersistence.py Outdated
Comment thread telegram/ext/_picklepersistence.py Outdated
Comment thread telegram/ext/_picklepersistence.py Outdated
@harshil21 harshil21 removed the 📋 pending-review work status: pending-review label Jan 22, 2022
Comment thread telegram/ext/_basepersistence.py Outdated
Comment thread telegram/ext/_basepersistence.py Outdated
Comment thread telegram/ext/_dictpersistence.py Outdated
Comment thread telegram/ext/_dictpersistence.py Outdated

@Bibo-Joshi Bibo-Joshi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Do you want to merge or do you want to extend this PR with dropping insert/replace_bot as discussed? I'm fine with both :)

Copy link
Copy Markdown
Member Author

@Bibo-Joshi I think we can merge and probably do that in the asyncio branch since the implementation will likely change anyway

Copy link
Copy Markdown
Member

@harshil21 on asyncio, we mainly change where we call the update_*_data methods, but we don't change any internals of the persistence (except from making the methods async). I would like it better for those changes to be in a different PR. We can still merge this one as is though :)

@harshil21

Copy link
Copy Markdown
Member Author

okay, lets do it in another PR then 👍🏼

@harshil21 harshil21 added the 📋 pending-merge work status: pending-merge label Feb 1, 2022
@Bibo-Joshi
Bibo-Joshi merged commit 3b1a142 into v14 Feb 1, 2022
@Bibo-Joshi
Bibo-Joshi deleted the simplify-persistence branch February 1, 2022 16:50
@harshil21 harshil21 removed the 📋 pending-merge work status: pending-merge label Feb 1, 2022
@github-actions github-actions Bot locked and limited conversation to collaborators Feb 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

🛠 refactor change type: refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants