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

refactor: move transaction convert methods to conversion manager [APE-1416] #1676

Merged
merged 6 commits into from
Sep 26, 2023

Conversation

antazoey
Copy link
Member

What I did

Moves _convert_args and _convert_kwargs to the ConversionManager.

Reasoning: The ConversionManager is just dying for my tasks and these methods are awkwardly placed and they require passing the conversion manager around anyway, so it jus makes sense to have them be in the ConversionManager

Also, does other small typing related changes to help make the diff for Pydantic v2 much smaller.

How I did it

moved the methods

How to verify it

things still work

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@vany365 vany365 changed the title refactor: move transaction convert methods to conversion manager refactor: move transaction convert methods to conversion manager [APE-1416] Sep 26, 2023
tests/functional/test_project.py Fixed Show resolved Hide resolved
src/ape/api/query.py Show resolved Hide resolved
@antazoey antazoey merged commit 803d952 into ApeWorX:main Sep 26, 2023
15 checks passed
@antazoey antazoey deleted the fea/convert-args-method branch September 26, 2023 19:19
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