prismacloud-api-python icon indicating copy to clipboard operation
prismacloud-api-python copied to clipboard

update class attribute

Open joshuaPerakis opened this issue 1 year ago • 0 comments

Description

Update class attribute for equality checks

Motivation and Context

Pre-fix the script errors out with "AttributeError: 'PrismaCloudAPI' object has no attribute 'username'.

How Has This Been Tested?

I created temporary service account keys in app3 pcs tenant and ran the script post-fix. Script now worked as expected.

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • [ ] I have updated the documentation accordingly.
  • [ ] I have read the CONTRIBUTING document.
  • [ ] I have added tests to cover my changes if appropriate.
  • [ ] All new and existing tests passed.

joshuaPerakis avatar Apr 05 '24 14:04 joshuaPerakis