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

fix: expression error messages #361

Merged
merged 1 commit into from
Jan 30, 2024
Merged

fix: expression error messages #361

merged 1 commit into from
Jan 30, 2024

Conversation

jsolaas
Copy link
Contributor

@jsolaas jsolaas commented Jan 29, 2024

No description provided.

@jsolaas jsolaas requested a review from a team as a code owner January 29, 2024 14:21
@@ -10,6 +10,7 @@
from pydantic_core import CoreSchema, core_schema
from pydantic_core.core_schema import ValidationInfo

from libecalc.common.errors.exceptions import EcalcError
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 is wrong if we are trying to make expression module independent of ecalc.

@jsolaas jsolaas force-pushed the fix/expression-errors branch 2 times, most recently from f7cf6f2 to 1ad7eb1 Compare January 29, 2024 19:30
Copy link
Contributor

@ketwik ketwik left a comment

Choose a reason for hiding this comment

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

Consider handling this as a Bad Request.

@jsolaas jsolaas force-pushed the fix/expression-errors branch 2 times, most recently from 09ca311 to adae2ef Compare January 30, 2024 13:10
@jsolaas jsolaas merged commit 6a62db5 into main Jan 30, 2024
6 checks passed
@jsolaas jsolaas deleted the fix/expression-errors branch January 30, 2024 13:17
equinor-schen pushed a commit that referenced this pull request Aug 23, 2024
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