Skip to content

Conversation

@rudyryk
Copy link
Member

@rudyryk rudyryk commented May 4, 2024

Extracted module peewee_async_compat which contains Manager and other older interfaces to make cleaner separation from newer implementation based on AioModel etc.

  • Implemented patching queries for compatibility, check the _patch_query_with_compat_methods()
  • Added tests for models and queries without AioModel subclassing
  • Removed _swap_database(), it was an internal purely experimental feature
  • General minor cleanups

@rudyryk rudyryk force-pushed the refactoring/manager-compat branch from a0138ba to 06386fa Compare May 5, 2024 17:39
@rudyryk rudyryk changed the base branch from example/aiohttp to master May 5, 2024 17:40
@rudyryk rudyryk requested a review from kalombos May 9, 2024 15:40
@rudyryk rudyryk force-pushed the refactoring/manager-compat branch from bd04d1c to e12b10c Compare May 9, 2024 17:17
@rudyryk rudyryk merged commit 72f033f into master May 9, 2024
@rudyryk rudyryk deleted the refactoring/manager-compat branch May 9, 2024 17:46
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.

3 participants