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 indexes #18

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Fix indexes #18

wants to merge 5 commits into from

Conversation

cekk
Copy link
Member

@cekk cekk commented Nov 7, 2023

Do not use key|value pairs in fields.
With this change we can store metadata with human-readable strings and not ids.

@cekk
Copy link
Member Author

cekk commented Feb 15, 2024

@mamico @luca-bellenghi ping ;)

terms.append(SimpleTerm(value=key, token=key, title=value))
else:
logger.error("invalid tipologia bando %s", tipologia)
terms = [SimpleTerm(value=x, token=x, title=x) for x in values if x]
Copy link
Contributor

Choose a reason for hiding this comment

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

what if editors want to have a term with non ascii chars?

Copy link
Member Author

Choose a reason for hiding this comment

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

is it a problem in python3?

Copy link
Contributor

Choose a reason for hiding this comment

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

it could be.

image

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