Skip to content

Conversation

@dalmas-bluesquare
Copy link

@dalmas-bluesquare dalmas-bluesquare requested review from yannforget and removed request for yannforget September 16, 2025 17:26
@dalmas-bluesquare dalmas-bluesquare requested review from lgarridobsq and removed request for lpeligry September 17, 2025 07:07
Copy link

@lgarridobsq lgarridobsq left a comment

Choose a reason for hiding this comment

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

Hola!
I had a small look -- I dont have a lot to add...
Thanks for the work Dalmas :)

@@ -0,0 +1,248 @@
import inspect

Choose a reason for hiding this comment

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

Should we add an init file?

"""
raise Exception(exception_message)

logger.info("Data passed validation check.")

Choose a reason for hiding this comment

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

Maybe it makes more sense to use OpenHexa logger (so, use current_run.log_info() instead of the logger.info() one)
This way, we can see the logs nicely on OH


return expectations

def validate_expectations(self):

Choose a reason for hiding this comment

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

This function is very nice!
But, in my head, we are going to iteratively improve it, adding more checks
So maybe it makes sense to divide it up a bit to start with?
So that we don't end up with a huge function including all of the validations that is very hard to read/debug/improve

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