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

Resync 2 #155

Merged
merged 6 commits into from
Nov 13, 2023
Merged

Resync 2 #155

merged 6 commits into from
Nov 13, 2023

Conversation

jvanderaa
Copy link
Contributor

Resync for 2.0.2 release.

jvanderaa and others added 6 commits January 13, 2023 12:22
* Release 2.0 (nautobot#136)

---------

Co-authored-by: Jan Snasel <[email protected]>
Co-authored-by: Joe Wesch <[email protected]>
* fix: Update methods for custom fields (nautobot#114)

Add method `custom_field_choices()` in `App` class.
Rename method `custom_choices()` to `custom_fields()`.
Update docstings for both methods according to returning data.

* fix: Tests for methods for custom fields (nautobot#114)

Add test case `AppCustomFieldChoicesTestCase` for
`custom_field_choices()` method.
Rename test case for `custom_fields()` method.
Add using fixtures for mentioned test cases.

* fix: Fixtures for tests (custom fields) (nautobot#114)

Add missing JSON files with fixtures for tests for getting custom
fields.

* fix: Failing test for getting custom fields (nautobot#114)

Fix test cases `AppCustomFieldsTestCase` and
`AppCustomFieldChoicesTestCase` for python 3.7 stable.
Update logic for checking passed arguments of mock's `call_args`.

* Update api.py

* max_workers added

* max_workers added

* Update query.py

* Update query.py

* max_workers from api to request

* debug removed

* Update api.py

* Update query.py

* refactor: Update docstrings and naming (nautobot#114)

* (docs) update docstrings for `custom_fields()` and
  `custom_field_choices()` methods
* (refactor): use f-strings instead of `.format()` in
  `custom_fields()` and `custom_field_choices()`
* (tests): update naming in tests
* (tests): use `return_value` instead of `side_effect` for mocks

* fix: backward compatibility

* (fix): restore original method `custom_choices()` for application
  class to provide a compatibility with existing client code
* (enhance): add logging a deprecation warning

* refactor: update `custom_choices()` (nautobot#114)

* (refactor): call `custom_fields()` in `custom_choices()` since they
  represent essentially identical requests to Nautobot

* Add version constraint to divide into two release trains 1.x and 2.x (nautobot#130)

Add version constraint to divide into two release trains 1.x and 2.x

* Release 2.0 (nautobot#136)

* Release 2.0.0

---------

Co-authored-by: Jan Snasel <[email protected]>
Co-authored-by: Joe Wesch <[email protected]>

* Fix SSL verify (nautobot#140) (nautobot#142)

* Fix custom_fields and custom_field_choices method overlap with endpoints (nautobot#141) (nautobot#144)

* Release 2.0.1

---------

Co-authored-by: nautics889 <[email protected]>
Co-authored-by: NobodyIsPerfect78 <[email protected]>
Co-authored-by: Josh VanDeraa <[email protected]>
Co-authored-by: Joe Wesch <[email protected]>
Co-authored-by: Jan Snasel <[email protected]>
@jvanderaa jvanderaa requested a review from joewesch November 13, 2023 17:13
Copy link
Contributor

@joewesch joewesch left a comment

Choose a reason for hiding this comment

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

Approved again!

@jvanderaa jvanderaa merged commit 0d9c766 into nautobot:develop Nov 13, 2023
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants