akt-cli 0.4.0__tar.gz → 0.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {akt_cli-0.4.0 → akt_cli-0.4.1}/PKG-INFO +1 -1
- {akt_cli-0.4.0 → akt_cli-0.4.1}/pyproject.toml +1 -1
- {akt_cli-0.4.0 → akt_cli-0.4.1}/src/akt/coa.py +5 -1
- {akt_cli-0.4.0 → akt_cli-0.4.1}/LICENSE +0 -0
- {akt_cli-0.4.0 → akt_cli-0.4.1}/README.md +0 -0
- {akt_cli-0.4.0 → akt_cli-0.4.1}/src/akt/__init__.py +0 -0
- {akt_cli-0.4.0 → akt_cli-0.4.1}/src/akt/cli.py +0 -0
- {akt_cli-0.4.0 → akt_cli-0.4.1}/src/akt/client.py +0 -0
- {akt_cli-0.4.0 → akt_cli-0.4.1}/src/akt/commands.py +0 -0
- {akt_cli-0.4.0 → akt_cli-0.4.1}/src/akt/config.py +0 -0
- {akt_cli-0.4.0 → akt_cli-0.4.1}/src/akt/output.py +0 -0
- {akt_cli-0.4.0 → akt_cli-0.4.1}/src/akt/registry.py +0 -0
- {akt_cli-0.4.0 → akt_cli-0.4.1}/src/akt/resources.py +0 -0
|
@@ -74,7 +74,11 @@ def parse_coa(text: str) -> CoaConfig:
|
|
|
74
74
|
code = int(row["code"])
|
|
75
75
|
name = str(row["name"])
|
|
76
76
|
type_id = int(row["type_id"])
|
|
77
|
-
mirror =
|
|
77
|
+
mirror = row.get("mirror", True)
|
|
78
|
+
if not isinstance(mirror, bool):
|
|
79
|
+
raise ValueError(
|
|
80
|
+
f"account '{name}': 'mirror' must be a boolean (true/false), "
|
|
81
|
+
f"got {mirror!r} — did you quote it?")
|
|
78
82
|
category = str(row.get("category", name))
|
|
79
83
|
if code in seen_codes:
|
|
80
84
|
raise ValueError(f"duplicate code {code}")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|