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

[PY-573] Darwin Future Properties base objects #740

Merged
merged 16 commits into from Dec 12, 2023
Merged

[PY-573] Darwin Future Properties base objects #740

merged 16 commits into from Dec 12, 2023

Conversation

Nathanjp91
Copy link
Contributor

Problem

No support exists for new Properties features loading into annotations

Solution

Write pydantic objects to handle the upcoming properties features. Includes seperate objects to parse the metadata.json files + some base DarwinV2 annotations that these properties will be listed in.

Changelog

Basic Support for Property fields added

Copy link

linear bot commented Dec 8, 2023

PY-573 Data structures

@@ -51,9 +51,9 @@ def parse_path(path: Path) -> Optional[List[dt.AnnotationFile]]:
file_annotation_map[filename].append(annotation)
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 file was included because I accidentally ran linter on darwin rather than darwin/future by mistake. Ignore it for the PR but will include it to keep old code linted.

Copy link
Member

@saurbhc saurbhc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@Nathanjp91 Nathanjp91 merged commit 6dd88b6 into master Dec 12, 2023
13 checks passed
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.

None yet

2 participants