Update file metadata in manifest.json and change MinIO image source in docker-compose.yml
This commit is contained in:
@@ -22,8 +22,8 @@ def category_spend(
|
||||
return [
|
||||
{
|
||||
"categoryId": row["category_id"],
|
||||
"name": row["category"] if not row["category"].startswith("category.") else None,
|
||||
"nameKey": row["category"] if row["category"].startswith("category.") else None,
|
||||
"name": row["name"],
|
||||
"nameKey": row["name_key"],
|
||||
"amountKopecks": row["amount_kopecks"],
|
||||
}
|
||||
for row in rows
|
||||
@@ -75,8 +75,8 @@ def plan_fact(month: str, db: Db, context: Context) -> dict:
|
||||
"items": [
|
||||
{
|
||||
"categoryId": row["category_id"],
|
||||
"name": row["name"] if not str(row["name"]).startswith("category.") else None,
|
||||
"nameKey": row["name"] if str(row["name"]).startswith("category.") else None,
|
||||
"name": row.get("name"),
|
||||
"nameKey": row.get("name_key"),
|
||||
"plannedKopecks": row["planned"],
|
||||
"actualKopecks": row["spent"],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user