Skip to content

Commit

Permalink
Merge branch 'develop' into requests_session_injection
Browse files Browse the repository at this point in the history
  • Loading branch information
bvargasre authored Aug 14, 2024
2 parents 0008e98 + 410d0d4 commit 26b2b08
Show file tree
Hide file tree
Showing 5,703 changed files with 167,340 additions and 712,756 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
49 changes: 47 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,48 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.7.2] - 2024-08-09
- Update User-Agent header in RestSession
- Update requirements:
+ python = "^3.8"
+ requests = "^2.32.0"
+ readthedocs-sphinx-search = "^0.3.2"
### Fixed
- Fix function names in 2.3.7.6 `user_and_roles`
+ From add_role_ap_i to add_role_api
+ From get_a_a_a_attribute_ap_i to get_aaa_attribute_api
+ From get_permissions_ap_i to get_permissions_api
+ From delete_role_ap_i to delete_role_api
+ From get_roles_ap_i to get_roles_api
+ From get_users_ap_i to get_users_api
+ From add_user_ap_i to add_user_api
+ From update_user_ap_i to update_user_api
+ From delete_user_ap_i to delete_user_api
+ From get_external_authentication_setting_ap_i to get_external_authentication_setting_api
+ From manage_external_authentication_setting_ap_i to manage_external_authentication_setting_api
+ From get_external_authentication_servers_ap_i to get_external_authentication_servers_api
+ From add_and_update_a_a_a_attribute_ap_i to add_and_update_aaa_attribute_api
+ From delete_a_a_a_attribute_ap_i to delete_aaa_attribute_api
+ From get_a_a_a_attribute_ap_i to get_aaa_attribute_api


## [2.7.1] - 2024-05-31
### Fixed
- Updated package version retrieval method from pkg_resources to importlib.metadata.

## [2.7.0] - 2024-05-31
### Added
- Add support of DNA Center versions ('2.3.7.6')
- Adds modules for v2_3_7_6
### Changed
- The future library was removed
- The past library was removed
- Changed basestring to str
- Requirements updated
### Fixed
- Fix headers in `create_webhook_destination` and `update_webhook_destination`


## [2.6.11] - 2023-01-10
### Fixed
- Configuration template import template - check_type error #142 - Fixing required schema.
Expand Down Expand Up @@ -82,7 +124,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Compatibility matrix added in `readme.rst`

### Fixed
- Offset and limit now support basestring and int
- Offset and limit now support str and int
+ dnacentersdk.api.v2_3_3_0.application_policy
+ dnacentersdk.api.v2_3_3_0.applications
+ dnacentersdk.api.v2_3_3_0.compliance
Expand Down Expand Up @@ -470,4 +512,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[2.6.9]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.8...v2.6.9
[2.6.10]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.9...v2.6.10
[2.6.11]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.10...v2.6.11
[Unreleased]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.11...develop
[2.7.0]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.6.11...v2.7.0
[2.7.1]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.7.0...v2.7.1
[2.7.2]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.7.1...v2.7.2
[Unreleased]: https://github.com/cisco-en-programmability/dnacentersdk/compare/v2.7.2...develop
5 changes: 2 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ verify_ssl = true
name = "pypi"

[packages] # Here goes your package requirements for running the application and its versions (which packages you will use when running the application).
requests = ">=2.27.1, <=2.40.0"
requests = ">=2.32.0, <3.0.0"
requests-toolbelt = ">=1.0.0"
future = ">=0.18.3"
fastjsonschema = ">=2.16.2"

[dev-packages] # Here goes your package requirements for developing the application and its versions (which packaes you will use when developing the application)
Expand All @@ -16,5 +15,5 @@ pytest = "*"
pytest-rerunfailures = ">=10.3"
flake8 = "*"
ipython = "*"
readthedocs-sphinx-search = ">=0.1.0"
readthedocs-sphinx-search = ">=0.3.2"
setuptools_scm = ">=6.0.0"
636 changes: 393 additions & 243 deletions Pipfile.lock

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dnacentersdk
dnac = api.DNACenterAPI(username="devnetuser",
password="Cisco123!",
base_url="https://sandboxdnac.cisco.com:443",
version='2.3.5.3',
version='2.3.7.6',
verify=True)
# Find all devices that have 'Switches and Hubs' in their family
Expand Down Expand Up @@ -149,16 +149,17 @@ The following table shows the supported versions.

* - Cisco DNA Center version
- Python "dnacentersdk" version
* - 2.1.1
- 2.2.5
* - 2.2.2.3
- 2.3.3
* - 2.2.3.3
- 2.4.11
* - 2.3.3.0
- 2.5.6
* - 2.3.5.3
- 2.6.10
- 2.6.11
* - 2.3.7.6
- 2.7.2



If your SDK is older please consider updating it first.
Expand Down
5 changes: 2 additions & 3 deletions dnacentersdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
SOFTWARE.
"""

from __future__ import absolute_import, division, print_function, unicode_literals

import logging

Expand All @@ -45,6 +44,6 @@
logger = logging.getLogger(__name__)


from pkg_resources import get_distribution
release = get_distribution('dnacentersdk').version
from importlib.metadata import version
release = version('dnacentersdk')
__version__ = '.'.join(release.split('.')[:3])
Loading

0 comments on commit 26b2b08

Please sign in to comment.