chore(version): update version and changelog for release 0.8.130
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m9s
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 36s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m9s
- Bumped APP_VERSION to 0.8.130 and updated the changelog to reflect recent changes. - Fixed PUT/POST for training_units to handle assistant_trainer_profile_ids as JSONB using psycopg2.extras.Json, resolving a ProgrammingError during co-assignment.
This commit is contained in:
1 parent
a1a3f2e0a1
commit
b0faa4bfab
2 files changed
+12
-4
No files matched your search
@@ -1863,6 +1863,7 @@ def create_training_unit(data: dict, tenant: TenantContext = Depends(get_tenant_
|
||||
lead_ins,
|
||||
)
|
||||
if assistant_set:
|
||||
av_db = None if assistant_val is None else PsycopgJson(assistant_val)
|
||||
cur.execute(
|
||||
"""
|
||||
INSERT INTO training_units (
|
||||
@@ -1874,7 +1875,7 @@ def create_training_unit(data: dict, tenant: TenantContext = Depends(get_tenant_
|
||||
) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)
|
||||
RETURNING id
|
||||
""",
|
||||
base_params + (assistant_val,),
|
||||
base_params + (av_db,),
|
||||
)
|
||||
else:
|
||||
cur.execute(
|
||||
@@ -2013,7 +2014,7 @@ def update_training_unit(unit_id: int, data: dict, tenant: TenantContext = Depen
|
||||
eff_lead_for_co,
|
||||
)
|
||||
assist_sql = ", assistant_trainer_profile_ids = %s"
|
||||
assist_params.append(na)
|
||||
assist_params.append(None if na is None else PsycopgJson(na))
|
||||
|
||||
debrief_frag = ""
|
||||
if "debrief_completed" in data and not is_blueprint:
|
||||
|
||||
Reference in new issue
Block a user