Skip to content

azure.mgmt.eventhub.models.EHNamespace.disable_local_auth not recognized by mypy #37901

Open
@jazelenk

Description

@jazelenk
  • Package Name: azure.mgmt.eventhub
  • Package Version: 11.1.0
  • Operating System: Linux
  • Python Version: 3.12

Describe the bug
mypy claims that azure.mgmt.eventhub.models.EHNamespace has no disable_local_auth attribute

To Reproduce
$ cat example.py
import azure.mgmt.eventhub.models

ehn = azure.mgmt.eventhub.models.EHNamespace()
print(f"ehn.disable_local_auth is {ehn.disable_local_auth!r}")

$ python3 example.py
ehn.disable_local_auth is None

$ mypy example.py
example.py:4:35: error: "EHNamespace" has no attribute "disable_local_auth" [attr-defined]
Found 1 error in 1 file (checked 1 source file)

Expected behavior
I expect mypy to recognize that disable_local_auth is a valid attribute

Screenshots
see repro above

Additional context
n/a

Metadata

Metadata

Assignees

Labels

Event HubsMgmtThis issue is related to a management-plane library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions