Skip to content

Incorrect ValueError for Virus report ID #66

@wardy3

Description

@wardy3
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions