beets/docs
Sebastian Mohr b4a634a443
Allow to pickle db models by removing the current connection. (#5641)
## Description

This might be a quick one, depending on how you feel about it... It
allows you to pickle DB model objects. I don't think this is used
directly in Beets, but it might be useful in general. For instance, we
encountered an issue where we wanted to quickly pickle an Item or Album.
This sometimes worked and other times failed, which seemed quite
inconsistent.

Some DB model methods and properties have the side effect of attaching
an SQLite connection to self (._db), which prevents serialization. The
fix is quite straightforward, so I thought we might want to integrate
this into beets directly.

## To Do

- [x] Changelog
- [x] Tests
2025-04-15 11:43:36 +02:00
..
_static Transparent background logo for docs 2023-10-29 10:30:33 +01:00
dev Add documentation links 2025-01-30 12:20:11 +00:00
guides Fix Broken link for Arch Linux package 2025-04-08 15:33:43 +02:00
plugins mbsync: support other data sources 2025-04-14 02:28:43 +01:00
reference [doc/reference/config] Re-write explanation for 'overwrite_null' 2024-09-12 14:26:50 +02:00
changelog.rst Allow to pickle db models by removing the current connection. (#5641) 2025-04-15 11:43:36 +02:00
code_of_conduct.rst Integrate code of conduct 2023-10-27 21:55:13 +10:00
conf.py Enable colors in the docs 2025-01-19 00:30:47 +00:00
contributing.rst add CONTRIBUTING.rst to the docs 2020-07-20 19:56:05 -07:00
faq.rst Link to specific bug report/feature request templates in docs 2025-02-16 23:41:00 +00:00
index.rst Integrate code of conduct 2023-10-27 21:55:13 +10:00
Makefile Add new livereload server for docs 2016-01-25 13:19:26 -08:00
modd.conf Switch to modd for live docs build 2017-12-21 11:39:08 -05:00
team.rst [docs/team] Add '@bal-e' 2024-07-31 23:24:18 +02:00