Skip to content

Convert vaulty_info, mega_transfers, AdidasUser to LAVA @artifact_processor#764

Merged
abrignoni merged 1 commit into
mainfrom
lava-batch-24
Jun 20, 2026
Merged

Convert vaulty_info, mega_transfers, AdidasUser to LAVA @artifact_processor#764
abrignoni merged 1 commit into
mainfrom
lava-batch-24

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Converts three more parsers to the LAVA @artifact_processor pattern.

  • vaulty_info — flat prefs Key/Value with MD5/PIN brute-force; no timestamps. Refactored the prefs lookup into a single dict pass, replaced the for/else (W0120) brute-force with a clean loop, and added encoding to open().
  • mega_transfers — AES-decrypted completed-transfers; transfertimestamp decrypted then → aware UTC datetime (replacing utcfromtimestamp); direction/state lookups hoisted to module constants; switched to open_sqlite_db_readonly.
  • AdidasUser — key/value userProperty assembled into one row; createdAt/lastV3SessionSyncAtLocalTime → aware UTC datetime; Image declared in html_columns and NULL-guarded; initialized all fields to '' to remove the E0606 unbound-variable risk.

Verified: byte-compile, decorated 4-arg signature, returns 3-tuple, output_types valid, loader resolves, pylint clean.

@abrignoni abrignoni merged commit d22b4e6 into main Jun 20, 2026
1 check passed
@abrignoni abrignoni deleted the lava-batch-24 branch June 20, 2026 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant