Skip to content

Add ahb_expressions table + model class with bedingungstexts (usable iff fundamend[sqlmodels,ahbicht] is installed) #124

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

Merged
merged 25 commits into from
Apr 15, 2025

Conversation

hf-kklein
Copy link
Contributor

No description provided.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@hf-krechan dieses ding joinen wir dann an den v_ahbesser noch zusätzlich ran

...
JOIN ahb_expressions ON ... version=version AND pruefi = pruefi AND expression = line_expression

dann kriegst du deine letzte spalte.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

=> #125

@hf-kklein hf-kklein requested a review from hf-krechan April 15, 2025 13:20
@hf-kklein hf-kklein changed the title Add ahb_expressions table + model class with bedingungstexts Add ahb_expressions table + model class with bedingungstexts (usable iff fundamend[sqlmodels,ahbicht] is installed) Apr 15, 2025
@hf-kklein hf-kklein self-assigned this Apr 15, 2025
).all()
}
joined_dict = {**bedingungen, **pakete, **ubbedingungen}
node_texts = "\n".join([f"[{key}] {value}" for key, value in joined_dict.items()])
Copy link
Contributor

Choose a reason for hiding this comment

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

powerful one liner 💪

@hf-kklein hf-kklein enabled auto-merge (squash) April 15, 2025 20:02
@hf-kklein hf-kklein merged commit e8f069d into main Apr 15, 2025
18 checks passed
@hf-kklein hf-kklein deleted the expressions branch April 15, 2025 20:29
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