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

CLN: Separate spec and bbox derivation #547

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

mferrera
Copy link
Collaborator

@mferrera mferrera commented Mar 22, 2024

This further breaks down the object data provider into a more refined API and into more maintainable and testable blocks. An added benefit is more type sanity.

A next step is to move more of these dict[str, Any]s (raa!) into more Pydantic... if warranted.

This further breaks down the object data provider into a more refined
API and into more maintainable and testable blocks. An added benefit is
more type sanity.
@mferrera mferrera self-assigned this Mar 22, 2024
@mferrera mferrera marked this pull request as ready for review March 22, 2024 08:09
Copy link
Collaborator

@tnatt tnatt left a comment

Choose a reason for hiding this comment

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

LGTM 👍 if possible in this PR could we set bbox and spec to None instead of empty dict? I get issues when validating with pydantic if they are dictionary since that triggers checking for required keys inside it.

@mferrera
Copy link
Collaborator Author

Discussed the above comment and agreed to merge this as is 😄

@mferrera mferrera merged commit eadf87f into equinor:main Mar 22, 2024
13 checks passed
@mferrera mferrera deleted the split-spec-bbox branch March 22, 2024 10:02
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