clan_lib: rename writeability to write_map
This commit is contained in:
@@ -7,7 +7,7 @@ from clan_lib.machines.actions import FieldSchema
|
||||
from clan_lib.nix_models.clan import InventoryMeta
|
||||
from clan_lib.persist.introspection import retrieve_typed_field_names
|
||||
from clan_lib.persist.inventory_store import InventoryStore
|
||||
from clan_lib.persist.writability import is_writeable_key
|
||||
from clan_lib.persist.write_rules import is_writeable_key
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
@@ -51,7 +51,7 @@ def get_clan_details_schema(flake: Flake) -> dict[str, FieldSchema]:
|
||||
|
||||
"""
|
||||
inventory_store = InventoryStore(flake)
|
||||
write_info = inventory_store.get_writeability()
|
||||
write_info = inventory_store.get_write_map()
|
||||
|
||||
field_names = retrieve_typed_field_names(InventoryMeta)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user