You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 117cbac
Browse filesBrowse the repository at this point in the historyBrowse files
refactor: CSVImport MAX/auth cleanup from adversarial review
Three small cleanups on UserItem.CSVImport surfaced by an adversarial
code review of the earlier bug fixes:
- MAX renamed to COLUMN_COUNT and moved out of the ColumnType IntEnum.
ColumnType(8) used to return ColumnType.MAX, a fake column mixed in
with real column indices. Now the count is a class-level constant.
- _auth_canonical() no longer rebuilds its dict on every call. Promoted
to _AUTH_CANONICAL class attribute.
- _valid_attributes[AUTH] no longer hardcodes the accepted auth values.
Derived from _AUTH_CANONICAL.values() instead so there's a single
source of truth for what AUTH strings are accepted.
No behavior change.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments