Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect ValueError for Virus report ID #66

Open
wardy3 opened this issue Aug 28, 2023 · 1 comment
Open

Incorrect ValueError for Virus report ID #66

wardy3 opened this issue Aug 28, 2023 · 1 comment

Comments

@wardy3
Copy link

wardy3 commented Aug 28, 2023

id = '1-223-L2lmcy9hdXJpc2kwMi9hdXJhejUvdDEvc21iL0FVMjAwNE5QMDA2Mi9BVTIwMDROUDAwNjJfdm9sMDAxL2dyb3VwZGF0YS9Db3Jwb3JhdGUvcHJ...WZpY2F0aW9uL1JFQ1lDTEVSL1MtMy04LTMwLTQ2MDM0MTAwMzAtODk2NDk2ODgxMS02MjUxMjExMDE3LTE0ODgvQXNlLnVvdQAA10-MTY2NDI2NTE1NAAA'

    @id.setter
    def id(self, id):
        """Sets the id of this ReportsThreatsReport.
    
        A unique identifier for the report.  # noqa: E501
    
        :param id: The id of this ReportsThreatsReport.  # noqa: E501
        :type: str
        """
        if id is not None and len(id) > 255:
>           raise ValueError("Invalid value for `id`, length must be less than or equal to `255`")  # noqa: E501
E           ValueError: Invalid value for `id`, length must be less than or equal to `255`

.venv/lib/python3.11/site-packages/isilon_sdk/v9_5_0/models/reports_threats_report.py:128: ValueError

The virus report ID returned by the API is > 255 chars

I guess this might be a bug with the product not the SDK?

thanks

@wardy3
Copy link
Author

wardy3 commented Oct 23, 2023

raised on isilon_sdk - Isilon/isilon_sdk#99

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant