microsoft-graph-devx-api icon indicating copy to clipboard operation
microsoft-graph-devx-api copied to clipboard

Wrong Import Path for partner.security.alert_status

Open shemogumbe opened this issue 5 months ago • 0 comments

Describe the bug Snippet https://learn.microsoft.com/en-us/graph/api/partner-security-partnersecurityalert-update?view=graph-rest-beta&tabs=python has wrong imports paths in line 3 and 4

The correct path ought to be:

from msgraph_beta.generated.models.partner.security.security_alert_status import SecurityAlertStatus
from msgraph_beta.generated.models.partner.security.security_alert_resolved_reason import SecurityAlertResolvedReason

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

shemogumbe avatar Sep 04 '24 08:09 shemogumbe