fixed parsing of non-primitive pillars
This commit is contained in:
parent
b89ac90bca
commit
2c69cab5d5
@ -43,6 +43,6 @@ def get_pillar_for_target(db: Session, target: UUID) -> dict:
|
|||||||
current[label] = {}
|
current[label] = {}
|
||||||
current = current[label]
|
current = current[label]
|
||||||
else:
|
else:
|
||||||
current[label] = json.loads(str(value))
|
current[label] = value
|
||||||
|
|
||||||
return out
|
return out
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "pillartool"
|
name = "pillartool"
|
||||||
version = "0.1.0"
|
version = "0.5.0"
|
||||||
description = "Add your description here"
|
description = "Add your description here"
|
||||||
requires-python = ">=3.13"
|
requires-python = ">=3.13"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user