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

Refactor tag value retrieval logic in SchemingDCATRDFProfile to improve handling of empty labels and streamline return values #134

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

mjanez
Copy link
Owner

@mjanez mjanez commented Jan 21, 2025

This pull request includes changes to the _search_value_codelist method in the ckanext/schemingdcat/profiles/base.py file to improve readability and logic flow. The most important changes include restructuring the dictionary creation and conditional checks.

Improvements to readability and logic flow:

…ve handling of empty labels and streamline return values
@mjanez mjanez added bug Something isn't working ckanext-dcat dcat-profiles Improve profiles DCAT-AP, GeoDCAT-AP, DCAT-AP-ES labels Jan 21, 2025
@mjanez mjanez added this to the v4.4.0 milestone Jan 21, 2025
@mjanez mjanez self-assigned this Jan 21, 2025
@mjanez mjanez merged commit 2c412fe into develop Jan 21, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ckanext-dcat dcat-profiles Improve profiles DCAT-AP, GeoDCAT-AP, DCAT-AP-ES
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant