Skip to content

refactor: remove Session.__getattr__ - #2912

Merged
rwols merged 3 commits into
mainfrom
refactor/getattr
May 18, 2026
Merged

rwols merged 3 commits into
mainfrom
refactor/getattr

Conversation

@rchl

@rchl rchl commented May 17, 2026 •

Copy link
Copy Markdown
Member

__getattr__ isn't needed since we are not using m_* convention in Session anymore.

As @rwols pointed out, having it had implications on type-checking - type-checker couldn't flag cases when unknown attributes were accessed.

@rwols
rwols merged commit 828a94d into main May 18, 2026
8 checks passed
@rwols
rwols deleted the refactor/getattr branch May 18, 2026 16:30
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.

2 participants