[EventHub] typing for class variables #26209
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Event Hubs
Messaging
Messaging crew
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Some class variables in eventhub has older version of typing.
Such as
`class EventProcessorMixin(object):
`
From this typing link
It seems to be better to change typing to
Example :
from
_consumer_group = "" # type: str
to
_consumer_group: str = ""
I think it may be applied to other directories too
The text was updated successfully, but these errors were encountered: