cisco-en-programmability/dnacentersdk

EASY FIX - Change check_type(offset, basestring) to allow integers

Opened this issue · 0 comments

Prerequisites

  • Have you tested the operation in the API directly?
  • Do you have the latest SDK version?
  • Review the compatibility matrix before opening an issue.

Describe the bug
The module > dnacentersdk/dnacentersdk/api/v2_3_5_3/tag.py > get_tag_members_by_id() only allows basestring type and not integers. This causes script to fail if int is provided.

Expected behavior
I believe the offset and the limit should be changed to allow an int value.

Environment (please complete the following information):

  • Cisco DNA Center Version and patch: Version 2.3.5.5-70026
  • Python version: 3.11
  • SDK version: 2.3.5.3
  • OS Version: Red Hat Enterprise Linux 8.9 (Ootpa)

Additional context
Here is where code is
Code to fix