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 = current[label]
|
||||
else:
|
||||
current[label] = json.loads(str(value))
|
||||
current[label] = value
|
||||
|
||||
return out
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "pillartool"
|
||||
version = "0.1.0"
|
||||
version = "0.5.0"
|
||||
description = "Add your description here"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user