Skip to content

refactor(ldap.controls): cast pyasn1 encoding to bytes instead of type-ignore - #684

Open
spaceone wants to merge 1 commit into
mainfrom
refactor/ldap-controls-pyasn1-typing
Open

spaceone wants to merge 1 commit into
mainfrom
refactor/ldap-controls-pyasn1-typing

Conversation

@spaceone

@spaceone spaceone commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

as the upstream typestubs are missing type annotations.

Workaround for:
pyasn1/pyasn1#131 and python/typeshed#16589

As an alternative we could also place fixed typestubs of pyasn1 into this repository. Opinions?

Issue: #368
Issue: #368

…e-ignore

as the upstream typestubs are missing type annotations.

Issue: #368
Issue: #368
@spaceone

Copy link
Copy Markdown
Contributor Author

ty might report redundant-cast: redundant-cast: Value is already of type bytes``

@spaceone spaceone added this to the 3.5.0 milestone Oct 25, 2026
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