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

[IO-1276] 3-step upload #693

Merged
merged 28 commits into from
Oct 24, 2023
Merged

[IO-1276] 3-step upload #693

merged 28 commits into from
Oct 24, 2023

Conversation

owencjones
Copy link
Contributor

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

Copy link
Contributor

@Nathanjp91 Nathanjp91 left a 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"]
Copy link
Contributor Author

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

@owencjones owencjones merged commit be3ba68 into master Oct 24, 2023
13 checks passed
@owencjones owencjones deleted the io-1276 branch October 24, 2023 17:08
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.

2 participants