chore(cli/inventory): add deprecation note for old python module

This commit is contained in:
Johannes Kirschbauer
2025-05-14 10:18:27 +02:00
parent a569a7bc7c
commit f722aafc18

View File

@@ -1,15 +1,14 @@
""" """
All read/write operations MUST use the inventory. DEPRECATED:
Machine data, clan data or service data can be accessed in a performant way. Don't use this module anymore
This file exports stable classnames for static & dynamic type safety. Instead use:
'clan_lib.persistence.inventoryStore'
Utilize: Which is an abstraction over the inventory
- load_inventory_eval: To load the actual inventory with nix declarations merged. Interacting with 'clan_cli.inventory' is NOT recommended and will be removed
Operate on the returned inventory to make changes
- save_inventory: To persist changes.
""" """
import contextlib import contextlib