Skip to content
Closed
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
a713823
OneManage endpoints: initial commit
allenrobel Oct 6, 2025
d64bff5
Merge branch 'develop' into mcfg-endpoints
allenrobel Oct 6, 2025
fcd8209
OneManage: comment out unused imports for now
allenrobel Oct 6, 2025
f128d29
EpOneManageFabricDetails: fix docstring
allenrobel Oct 6, 2025
887f5f0
EpOneManageFabricCreate: new endpoint class
allenrobel Oct 6, 2025
5ca9361
Complete the remaining OneManage endpoint classes
allenrobel Oct 7, 2025
eae7e12
Python 3.111 backward compatibility changes
allenrobel Oct 7, 2025
fa65b70
Minor docstring update for query param classes
allenrobel Oct 7, 2025
0a3f2d7
Update Python dependencies in workflow
allenrobel Oct 7, 2025
3263e9e
Update Pydantic version to 2.11.10
allenrobel Oct 7, 2025
701a89b
Add Requests installation step to workflow
allenrobel Oct 7, 2025
8bd17d3
Remove Pydantic and Requests installation steps
allenrobel Oct 7, 2025
562eba1
Add tests/requirements.txt
allenrobel Oct 7, 2025
49bd6eb
Add tests/sanity/requirements.txt
allenrobel Oct 7, 2025
bc1bda9
Add pydantic to requirements.txt
allenrobel Oct 7, 2025
608141c
onemanage/endpoints.py: Add import guard
allenrobel Oct 7, 2025
3245f36
Update tests/sanity/ignore*.txt
allenrobel Oct 7, 2025
c55dba9
common/api/query_params.py: Add import guard
allenrobel Oct 7, 2025
a7cbb83
common/api/base_paths.py: Unit tests
allenrobel Oct 7, 2025
3a08709
common/api/query_params.py: Unit tests
allenrobel Oct 7, 2025
52c88d6
# Summary
allenrobel Oct 7, 2025
cfb4e15
Appease pylint
allenrobel Oct 7, 2025
649bcbf
Add remaining OneManage endpoints and unit tests
allenrobel Oct 9, 2025
10a7ea6
Sort query parameter and endpoint classes by name
allenrobel Oct 9, 2025
51f80fc
Appease pylint
allenrobel Oct 9, 2025
8ee9d8c
EpOneManageFabricMembersGet: Rename
allenrobel Oct 9, 2025
a751c06
Update unit tests for EpOneManageFabricGroupMembersGet
allenrobel Oct 9, 2025
4f82eaf
endpoints.py: make class_name optional with default
allenrobel Oct 10, 2025
c2457f2
endpoints.py: class_name should be Optional[str]
allenrobel Oct 10, 2025
65d9978
Use ND rather than DCNM/NDFC in comments/docs
allenrobel Nov 9, 2025
3db46f7
Sanity: Remove import-3.x!skip for endpoints.py
allenrobel Nov 9, 2025
ebb500b
Try workaround for Sanity test failures
allenrobel Nov 9, 2025
cb4998d
Fix import guards
allenrobel Nov 9, 2025
b12250d
Fallbacks for BaseModel,Field,field_validator
allenrobel Nov 9, 2025
a3fc412
Fix Field() positional argument error
allenrobel Nov 9, 2025
55e1586
Same fix as last commit, but different location
allenrobel Nov 10, 2025
8e2e7c3
Fix Field() positional argument error
allenrobel Nov 10, 2025
40f420f
Fix Field(default_factory) assignments
allenrobel Nov 10, 2025
2fa308e
1. Remove custom __init__() method from endpoint classes that initial…
allenrobel Nov 10, 2025
1744d36
LuceneQueryParams: add Field(default=None)
allenrobel Nov 10, 2025
8ad7a42
Merge branch 'develop' into onemanage-endpoints
allenrobel Nov 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,22 @@ jobs:

- name: Install ansible-base (v${{ matrix.ansible }})
run: pip install https://github.com/ansible/ansible/archive/v${{ matrix.ansible }}.tar.gz --disable-pip-version-check

- name: Install Pydantic (v2)
run: pip install pydantic==2.11.10
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What was the determining factor in choosing these specific versions of (Pydantic, Requests, DeepDiff)?

Copy link
Collaborator Author

@allenrobel allenrobel Nov 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No determining factors really. These were just the versions I had installed locally. I've removed the version constraint.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am actually not against pinning to a specific version and then only updating when we have tested. I was just curious if you ran into issues with other versions. I would prefer we pin and only move strategically after testing.


- name: Install Requests
run: pip install requests==2.32.5

- name: Install DeepDiff (v8.5.0)
run: pip install deepdiff==8.5.0

- name: Install coverage (v7.3.4)
run: pip install coverage==7.3.4

- name: Install pytest (v7.4.4)
run: pip install pytest==7.4.4

- name: Install requests
run: pip install requests

- name: Download migrated collection artifacts
uses: actions/[email protected]
with:
Expand Down
Loading