Commit Graph

27 Commits

Author SHA1 Message Date
Scott Idem
0f4b4d2f51 feat: Implement V3 ID Vision and fields_to_exclude_from_db across core models
This commit refactors numerous Pydantic models to align with the V3 ID Vision standard, ensuring that primary and foreign key fields are represented as clean string IDs in the API. It also introduces and populates the  ClassVar in each model to prevent view-only fields and linked objects from being inadvertently written to the database during PATCH/POST operations.

Specifically, this includes:
- Adding  to exclude view-derived or joined fields such as , , nested objects (e.g., , ), and convenience fields (e.g., ).
- Adjusting root validators to correctly map string IDs and strip internal integer IDs for API responses.
- Resolving a KeyError by adding  to .

These changes are crucial for maintaining data integrity and consistency with the V3 API architecture.
2026-02-24 16:21:27 -05:00
Scott Idem
9715d28bd6 feat(v3-vision): implement resilient "Heal-on-Read" ID resolution
1. Hardened Event_Exhibit and Event_Exhibit_Tracking models with automatic Redis/DB fallback for missing string IDs.
2. Fully modernized Event_Person_Tracking_Base to the Vision Standard (Union IDs + Root Validator).
3. Enabled account-based search for event_person_tracking.
4. Verified all changes via e2e demo parity suite.
2026-02-07 19:27:44 -05:00
Scott Idem
8270f7ff7a fix(v3-actions): implement from_hosted_file and harden vision IDs
1. Implemented specialized 'from_hosted_file' action for Event Files.\n2. Fixed ValueError in Pydantic models by removing default/default_factory conflict.\n3. Hardened integer stripping to strictly enforce Vision Standards.\n4. Updated documentation for the new action route.
2026-02-06 16:23:18 -05:00
Scott Idem
d5e685dee8 fix(v3-vision): strict integer stripping and demo parity verification
1. Hardened all demo models to set non-string ID fields to None, ensuring full Vision Standard compliance.\n2. Added status_id_random to common field schema.\n3. Verified account_id availability in exhibit tracking.\n4. Added comprehensive E2E parity test suite for demo objects.\n5. Fixed NameError by importing root_validator.
2026-02-06 16:16:08 -05:00
Scott Idem
f3662f9462 fix(v3-vision): final hardening of demo models
Standardized Badge, Exhibit, and Tracking models to ID Vision standards. Included account_id support for exhibit tracking and removed legacy validators to ensure stable CRUD operations for the Tuesday demo.
2026-02-06 15:46:05 -05:00
00471df086 Now with the ability to handle multiple custom question in the data export 2024-04-07 11:57:44 -04:00
Scott Idem
83aa943410 Minor changes and updates. 2024-03-22 19:35:50 -04:00
Scott Idem
4c18d50c3b Prep for ISHLT 2023-04-10 18:54:42 -04:00
Scott Idem
df26128ce4 General clean up. Workon event abstracts. 2023-03-20 19:39:41 -04:00
Scott Idem
461d547c09 Work on exhibit tracking export and API badge ID lookup 2023-03-07 19:01:45 -05:00
Scott Idem
d4507e25c2 Work on exhibit tracking 2023-02-16 13:28:01 -05:00
Scott Idem
cbb5bea8c6 Exhibitor tracking, badges, and ISHLT Impexium import related. 2023-02-08 18:32:13 -05:00
Scott Idem
0eaaaa4d7e Changes related to Docker, bug fixes, and event badges. 2023-01-12 18:21:00 -05:00
Scott Idem
5066cd099d More again again again. Moving ID random generation to the SQL db instead. General clean up. 2022-06-30 17:00:17 -04:00
2debf80598 Impexium updates for address fields. Hidding 2022-04-25 10:27:08 -04:00
8fbde8c069 Added address lines to the database for badges. 2022-04-24 23:41:46 -04:00
Scott Idem
beea92f5d7 Added postal code to badges and tracking data 2022-04-24 10:38:04 -04:00
53201d335c Bug fix for tracking model 2022-04-19 18:10:42 -04:00
efff92c549 Work on badge and tracking models 2022-04-19 18:06:16 -04:00
Scott Idem
a2e5f804d6 Work on ISHLT Impexium importing 2022-04-15 18:25:06 -04:00
Scott Idem
f64efa3494 Work on exhibits and badges and related 2022-04-11 19:38:10 -04:00
Scott Idem
554ea353e0 Unknown 2022-04-10 22:20:54 -04:00
Scott Idem
1978718129 Work on exhibit and tracking 2022-02-17 19:22:52 -05:00
Scott Idem
2ddb549a75 General code clean up. More work on event, event exhibits, and event tracking related 2022-02-15 17:47:30 -05:00
Scott Idem
df6e860620 General code clean up. More work on event tracking related 2022-02-15 16:05:29 -05:00
Scott Idem
003ffb4adf General code clean up. Work on event tracking related 2022-02-15 13:25:19 -05:00
Scott Idem
13fe6adbb2 Work on event person tracking for exhibitors 2022-02-14 17:14:18 -05:00