-
Notifications
You must be signed in to change notification settings - Fork 42
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
[IO-1276] 3-step upload #693
Conversation
…bers unnecessary at upload
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as per our prior call. Like the streamlining of the ItemLayout into singular object and think we should use this approach where we can rather than having seperate objects for everything. It means more up front code in the validators I think but means later code won't have to require so many checks on different objects and Union[v1, v2] typing.
@@ -56,7 +56,7 @@ warn_untyped_fields = true | |||
|
|||
[tool.ruff] | |||
select = ["E", "F", "C"] | |||
ignore = ["E203", "E402"] | |||
ignore = ["E203", "E402", "E501"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This allows us to leave this rule to mypy
Problem
Currently, we use the old code for upload
Solution
Implemented DTOs and functions to upload using the V2 API.
Changelog
Added item uploads functions
Added item DTOs and validators
Added relevant tests