Skip to content

Commit e89e2c2

Browse files
dependabot[bot]Konstantin
andauthored
build(deps-dev): update optional fundamend[ahbicht] requirement from ahbicht<1,>=0.16.0 to ahbicht>=1,<2 (#199)
* build(deps-dev): update ahbicht requirement Updates the requirements on [ahbicht](https://github.com/Hochfrequenz/ahbicht) to permit the latest version. - [Release notes](https://github.com/Hochfrequenz/ahbicht/releases) - [Commits](Hochfrequenz/ahbicht@v0.16.0...v1.0.0) --- updated-dependencies: - dependency-name: ahbicht dependency-version: 1.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> * remove schema * wip --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Konstantin <[email protected]>
1 parent 93edce0 commit e89e2c2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ sqlmodels = [
3030
"sqlalchemy[mypy]>=2.0.37"
3131
]
3232
ahbicht = [
33-
"ahbicht>=0.16.0,<1"
33+
"ahbicht>=1.0.0,<2"
3434
]
3535
coverage = [
3636
"coverage==7.11.0"

src/fundamend/sqlmodels/expression_view.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from ahbicht.content_evaluation.expression_check import is_valid_expression
3131
from ahbicht.content_evaluation.token_logic_provider import SingletonTokenLogicProvider, TokenLogicProvider
3232
from ahbicht.expressions.condition_expression_parser import extract_categorized_keys
33-
from ahbicht.models.content_evaluation_result import ContentEvaluationResult, ContentEvaluationResultSchema
33+
from ahbicht.models.content_evaluation_result import ContentEvaluationResult
3434
from lark.exceptions import VisitError
3535
except ImportError as import_error:
3636
import_error.msg += "; Did you install fundamend[sqlmodels,ahbicht]?"
@@ -52,8 +52,9 @@ def _get_evaluatable_data() -> EvaluatableData[ContentEvaluationResult]:
5252
:return:
5353
"""
5454
cer = _content_evaluation_result.get()
55+
assert cer is not None
5556
return EvaluatableData(
56-
body=ContentEvaluationResultSchema().dump(cer),
57+
body=cer,
5758
edifact_format=EdifactFormat.UTILMD, # not important, something has to be here
5859
edifact_format_version=EdifactFormatVersion.FV2504, # not important, something has to be here
5960
)

0 commit comments

Comments
 (0)