Commit Graph

33 Commits

Author SHA1 Message Date
Scott Idem
2659047d24 fix: sql_update record_id missing on Vision ID models — update path now works
All create_update_*_v4 functions for event_badge, event_person,
event_person_profile, event_presenter, and event_presentation were
calling sql_update without record_id. Vision ID models use Optional[str]
IDs with a root_validator that strips integer values, so the serialized
dict contained no id key and sql_update could not identify the row.

Fix: pass record_id=<integer_id> explicitly to sql_update in all five
functions. Also fix walrus-operator false-negative: None return from
sql_update (0 rows affected — record unchanged) is not an error and
should not abort sub-object cascade; use explicit `is False` check.

Also broadens Axonius badge_type_code mapping to substring match so
future ticket name variants still resolve correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 16:50:04 -04:00
Scott Idem
f5ef362242 Changing to full_name_override from display_name 2024-02-29 15:16:07 -05:00
Scott Idem
c687ade3fa Prep for AAPOR with Confex. General clean up. 2023-04-30 19:21:19 -04:00
Scott Idem
f3a84a9609 Badge and launcher related changes 2023-01-27 16:32:30 -05:00
Scott Idem
a18388e841 Minor changes 2022-09-27 20:53:12 -04:00
Scott Idem
aa981b0913 Work on sort of ressults using the priorty and sort fields. 2022-09-22 14:54:51 -04:00
Scott Idem
bf4e3827e0 General clean up. 2022-04-13 15:49:37 -04:00
Scott Idem
16fca4b2f0 General clean up. Work on importing AAPOR. Work on sessions, presentations, and presenters. 2022-04-12 04:08:52 -04:00
Scott Idem
03aceae130 User email look up improvement 2021-11-09 19:25:35 -05:00
Scott Idem
093cc3913b Work on event related routes, methods, and models 2021-11-09 15:23:12 -05:00
Scott Idem
e97e8e56e8 Work on event stuff 2021-11-08 17:00:51 -05:00
Scott Idem
30983ec507 Work on event launcher and demo ready 2021-11-08 16:10:42 -05:00
Scott Idem
661e9ca417 Work on event launcher and related 2021-10-22 04:07:41 -04:00
Scott Idem
bde6ec1a2b Work on event launcher and related 2021-10-21 01:08:07 -04:00
Scott Idem
be788fc5e6 Code clean up. Better debugging. Work on event session, presentation, and presenter. 2021-09-29 14:18:34 -04:00
Scott Idem
b2c70c0c87 Code clean up. Work on event session, presentation, and presenter. 2021-09-28 18:32:19 -04:00
Scott Idem
e231090168 Code clean up. Work on event session and file counts for event models 2021-09-28 18:06:35 -04:00
Scott Idem
15fd32b252 Work on a lot of things. Mainly cleaning up person and profile related fields in multiple tables. 2021-09-10 18:12:24 -04:00
Scott Idem
d0d8392817 Work on person methods and related 2021-09-08 12:22:22 -04:00
Scott Idem
6508461ae6 Working on stuff related to session proposals. Again... I think it all works now. 2021-08-26 01:23:14 -04:00
Scott Idem
c93792634a Working on event person, registration, badge, session, presentation, and presenter create and update. _v3 things 2021-08-25 16:25:46 -04:00
Scott Idem
1369874dc2 Code clean up and standardize 2021-08-25 10:58:39 -04:00
Scott Idem
7859d1d2b2 Working on event person, registration, badge, session, presentation, and presenter create and update. _v3 things 2021-08-24 20:31:00 -04:00
Scott Idem
25ebdb6e76 Working on event person, registration, badge, session, presentation, and presenter create and update. 2021-08-24 17:49:10 -04:00
Scott Idem
13c2375727 Working on event session, presentation, and presenter create and update. 2021-08-23 16:06:49 -04:00
Scott Idem
824bdd29a2 Work on event, event_session, event_presentation, event_presenter, user, and person routes, methods, and models 2021-08-21 16:04:17 -04:00
Scott Idem
e9399e107f Work on file uploads and session proposals 2021-06-16 15:08:05 -04:00
Scott Idem
717db418f9 Work on better way to update objects. A lot of work! 2021-06-10 17:03:12 -04:00
Scott Idem
d37234d7d8 A lot of work on event related modules. Also a lot of clean up. 2021-06-08 15:56:00 -04:00
Scott Idem
63baf4b2e9 A lot of work on event related modules. Also a lot of clean up. 2021-06-07 17:32:42 -04:00
Scott Idem
2788546cc8 A lot of work on event related modules 2021-06-04 17:10:09 -04:00
Scott Idem
499e08919d Working on event related models and methods. 2021-06-01 16:09:10 -04:00
Scott Idem
734734c9dc Working on event related models and methods. Also, a lot of general clean up of everything. Need to pick back up and work on event_presentation_methods.py. 2021-05-28 17:44:23 -04:00