"Warning: Discriminator source is absent or null, use base class ResourceDetails." when iterating SecurityAssessment object
See original GitHub issue- site-packages/azure/mgmt/security/operations/_assessments_operations.py:
- Module: SecurityAssessmentList
- MacOS:
- Python Version- 3.8:
Describe the bug
getting this warning for every iteration over SecurityAssessmentList object.
Discriminator source is absent or null, use base class ResourceDetails.
To Reproduce Steps to reproduce the behavior:
- list of assessments:
assessments = client.assessments.list(scope=subscription.id)
assessments_requests = {}
for assessment in assessments:
<etc...>
- get specific assessment:
client.assessments.get(assessment_id, assessment.name, 'metadata')
Expected behavior no warnings
Issue Analytics
- State:
- Created a year ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Discriminator source is absent or null, use base class ... - GitHub
"Warning: Discriminator source is absent or null, use base class ResourceDetails." when serializing SecurityAssessment object #13316.
Read more >Index (Oracle Cloud Infrastructure Java SDK - 3.2.0)
Abstract builder base class for authentication details provider extending AbstractRequestingAuthenticationDetailsProvider.
Read more >Juniper Networks Glossary - TechLibrary
Represents a component such as a workstation, router, switch, subnetwork, or any other object connected to the network. Use address book objects to...
Read more >azure-sdk-for-python - bytemeta
"Warning: Discriminator source is absent or null, use base class ResourceDetails." when iterating SecurityAssessment object. jenhagg.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
/unresolve this seems to still be a problem
@nadavu Thanks for your feedback, we’ll investigate asap.