-
Notifications
You must be signed in to change notification settings - Fork 14
Update/pydantic v2 #410
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
Closed
Closed
Update/pydantic v2 #410
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
6abe75c
Update dependencies to support Pydantic v2
12a8556
Refactor type hints and casting in resource files
ff94458
Remove Python 3.10 from GitHub Actions workflow matrix for test
e96cfb6
Update version to 2.0.0.dev1 in version.py
19c5838
Update dependencies and GitHub Actions workflow
622e6cf
Fix VCRHTTPResponse version_string AttributeError in tests
9c10590
Removed temporary patch for VCRHTTPResponse version_string from conft…
aeca28d
Update Python version to 3.13, adjust dependencies
63823a5
Update version to 2.0.0.dev2
11bb963
Update cuenca-validations dependency to version 2.0.0.dev9 in setup.py
8bf739a
Increment version to 2.0.0.dev3 in version.py
4bc3a54
Refactor CuencaResponseException to use dataclass and update fieldnam…
ceb1d41
Refactor URL fields in endpoints and sessions to use annotated types …
3c0f14f
Refactor retrieve_uris function to use a simple for loop instead of T…
53add20
Update test and main dependencies to latest versions
e0d54d3
Refactor API resource methods to use model_dump() instead of dict()
6a41ff9
Update card activation test values and cassette data
f7c54f8
style: fix formatting according to lint rules
e5070d4
refactor: change card number type to PaymentCardNumber for improved v…
7ea8e3d
refactor: replace type checks with isinstance
304c405
chore: update GitHub Actions workflows to use latest versions of setu…
42d9677
refactor: remove unnecessary constructor in CardTransaction class
5e2c585
refactor: update type hints to use built-in `list` and `dict`
2c6ce31
refactor: replace HttpUrl and AnyUrl with cuenca_validations.types
19081ee
chore: update types-requests dependency version
1712d33
refactor: update type hints to use built-in `list`
f295c73
refactor: simplify success_url and failure_url type hints in Session …
ebe078b
chore: update cuenca-validations dependency to version 2.0.0.dev12
f81c8bf
chore: bump version to 2.0.0.dev4
76bc9b1
refactor: change sensitive fields to SecretStr for enhanced security …
70ec1cc
chore: update cuenca-validations dependency to version 2.0.0.dev13
024b93d
feat: add Jwt resource class and include it in the resources module
06b0005
chore: bump version to 2.0.0.dev5
8b9c11d
chore: update cuenca-validations dependency to version 2.0.0.dev13
662d249
chore: bump version to 2.0.0.dev6
4ccb66e
chore: update GitHub Actions workflows
f759475
Remove test for Card.one()
4a4d4f9
Remove Jwt resource class
38511f3
refactor: change ApiKey secret field from SecretStr to str
53bbf8c
Replace string type with PaymentCardNumber for card number in ARPC an…
742697d
remove ellipses from Field definitions
74f7265
Removed assertions for success_url and failure_url in session creatio…
fa55d32
fix: update phone number format in user beneficiaries test cassette
52f9e20
chore: update dependencies in requirements and setup files
05e4781
bump version to 2.0.0
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.