Skip to content

Commit

Permalink
Minor fix and version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
turukawa committed Aug 9, 2023
1 parent a1c8cd6 commit c10de24
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- 1.0.6: Minor fix.
- 1.0.5: Additional ambiguity checks for category term edge case where source or destination fields can share category names.
- 1.0.4: Ambiguity checks for string blank space. If source data includes, should not be removed to preserve original structure.
- 1.0.3: Disambiguation where schema subject and object field categories have the same name.
Expand Down
6 changes: 5 additions & 1 deletion docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,15 @@ title: Change log
summary: Version history, including for legacy versions.
authors:
- Gavin Chait
date: 2023-08-08
date: 2023-08-09
tags: wrangling, crosswalks, versions
---
# Change log

## Version 1.0.6 (2023-08-09)

- Minor fix.

## Version 1.0.5 (2023-08-09)

- Additional ambiguity checks for category term edge case where source or destination fields can share category names.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "whyqd"
version = "1.0.5"
version = "1.0.6"
description = "data wrangling simplicity, complete audit transparency, and at speed"
authors = ["Gavin Chait <gchait@whythawk.com>"]
license = "BSD-3-Clause"
Expand Down
2 changes: 1 addition & 1 deletion whyqd/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.5
1.0.6
2 changes: 1 addition & 1 deletion whyqd/parsers/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def get_schema_field_category(self, *, field: FieldModel, term: str, is_source:
# Any schema field
for schema_field in schema.fields.get_all():
if schema_field.constraints and schema_field.constraints.category:
category = alt_schema.fields.get_category(name=schema_field.uuid.hex, category=term)
category = schema.fields.get_category(name=schema_field.uuid.hex, category=term)
if category:
category = schema.fields.get_category(name=field.uuid.hex, category=category.name)
break
Expand Down

0 comments on commit c10de24

Please sign in to comment.