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

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

Closed
3 tasks done
NetworkingB2A opened this issue Feb 23, 2024 · 1 comment
Closed
3 tasks done

Comments

@NetworkingB2A
Copy link

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

@bvargasre
Copy link
Collaborator

I'm going to close this issue, in the new version offset and limit accept int and str.
Any problems that arise feel free to open a new issue or reopen this one.
Best regards.

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

2 participants