-
Notifications
You must be signed in to change notification settings - Fork 3.3k
BatchJobTerminateOptions only available in private module. #47167
Copy link
Copy link
Open
Labels
customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.Workflow: This is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Metadata
Metadata
Assignees
Labels
customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-triageWorkflow: This is a new issue that needs to be triaged to the appropriate team.Workflow: This is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Type
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
BatchClient.begin_terminate_job()takes aoptions: Optional[_models._models.BatchJobTerminateOptions] = None,parameter. HoweverBatchJobTerminateOptionsis not re-exported inazure.batch.modelsunlike other model classes, so you have to import it fromazure.batch.models._modelswhich (following python convention) is a private module.Presumably this is just a missing re-export in
azure/batch/models/__init__.py.To Reproduce
Steps to reproduce the behavior:
BatchJobTerminateOptionsExpected behavior
The
BatchJobTerminateOptionstype should be available in a public module.Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.