-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
🛠 breakingchange type: breakingchange type: breaking🛠 refactorchange type: refactorchange type: refactor
Milestone
Description
As discussed in the dev chat before, just writing down so that we don't forget
- Remove
insert/replace_bot. Remove corresponding notes and instead leave a not saying that bot instances should not be serialized and insteadpersistence.botmay be used to re-insert bots into data. - Use
pickle.Un/Picklerto do the above forPicklePersistence- mock up at https://nekobin.com/lifojagumo.py - Make sure that
deepcopy(TelegramObject)keep the bot instance - add note about that to documentation - Make sure that
pickle.dumps(TelegramObject)ignores the bot instance - add note about that to documentation
Reference for developers: we had discussions in this eg here and up
Metadata
Metadata
Assignees
Labels
🛠 breakingchange type: breakingchange type: breaking🛠 refactorchange type: refactorchange type: refactor