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

Pro rata (starting) #53

Merged
merged 5 commits into from
Nov 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove debug print statement from ontology model
Eliminated an unnecessary debug `print` statement in `ontology.py` that was used to display the 'valor-pre-contratado' meta field. This cleanup enhances code readability and prevents cluttering of the console output with debug information.
ElemarJR committed Nov 29, 2024
commit e4860f626db842aa926d29ef32d51e6fa5aa5278
2 changes: 0 additions & 2 deletions backend/src/models/semantic/ontology.py
Original file line number Diff line number Diff line change
@@ -148,8 +148,6 @@ def from_wordpress_post(
match = re.match(r'^(\d+(?:\.\d+)?)', allocation)
allocation = match.group(1) if match else '0'

print(post.meta.get('valor-pre-contratado', {}))

pre_contracted_value = post.meta.get('valor-pre-contratado', {})
if isinstance(pre_contracted_value, list):
pre_contracted_value = False