Fix Pydantic deprecations and update dependencies to latest versions#172
Open
be-ant wants to merge 6 commits into
Open
Fix Pydantic deprecations and update dependencies to latest versions#172be-ant wants to merge 6 commits into
be-ant wants to merge 6 commits into
Conversation
Agent-Logs-Url: https://github.com/be-ant/pyOFSC/sessions/5c35c65c-d4e6-4ded-a9f1-20ab8f48b1e9 Co-authored-by: be-ant <91206666+be-ant@users.noreply.github.com>
…-config-references Fix obsolete Pydantic config/validator usage and bump version to 2.26.0
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.6.3 to 2.7.0. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.6.3...2.7.0) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.7.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: be-ant <91206666+be-ant@users.noreply.github.com>
Bumps [idna](https://github.com/kjd/idna) from 3.11 to 3.15. - [Release notes](https://github.com/kjd/idna/releases) - [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md) - [Commits](kjd/idna@v3.11...v3.15) --- updated-dependencies: - dependency-name: idna dependency-version: '3.15' dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: be-ant <91206666+be-ant@users.noreply.github.com>
Rebase branch onto upstream/master and replay local commits
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the OFSC Python wrapper to version 2.26.0 and includes improvements to model validation logic and configuration. The changes primarily focus on enhancing data model validation and updating versioning information.
Version and documentation updates:
pyproject.tomland the API endpoints documentation (docs/ENDPOINTS.md). [1] [2]Model validation improvements:
Recurrencemodel'scheck_week_daysvalidator to use instance attributes (self) instead of the previous classmethod-style (clsandvalues), ensuring that validation logic is more idiomatic and robust.InventoryTypemodel configuration by enabling bothvalidate_by_nameandvalidate_by_aliasinmodel_config, improving compatibility with different field naming conventions.