You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[C 240404 16:47:45 metal_ra:63] ValidationError was raised: 1 validation error for Partition size Input should be a valid string [type=string_type, input_value=0, input_type=int] For further information visit https://errors.pydantic.dev/2.6/v/string_type ValidationError^[[5~ValidationError^[[5~[C 240404 16:47:55 metal_ra:63] ValidationError was raised: 1 validation error for Partition size
Input should be a valid string [type=string_type, input_value=0, input_type=int]
For further information visit https://errors.pydantic.dev/2.6/v/string_typ
"devices": [Device.from_dict(_item) for _item in obj["devices"]] if obj.get("devices") is not None else None,
File "~/code/github/metal_ra/.venv/lib/python3.10/site-packages/equinix_metal/models/device.py", line 253, in from_dict
"storage": Storage.from_dict(obj["storage"]) if obj.get("storage") is not None else None,
File "~/code/github/metal_ra/.venv/lib/python3.10/site-packages/equinix_metal/models/storage.py", line 111, in from_dict
"disks": [Disk.from_dict(_item) for _item in obj["disks"]] if obj.get("disks") is not None else None,
File "~/code/github/metal_ra/.venv/lib/python3.10/site-packages/equinix_metal/models/storage.py", line 111, in <listcomp>
"disks": [Disk.from_dict(_item) for _item in obj["disks"]] if obj.get("disks") is not None else None,
File "~/code/github/metal_ra/.venv/lib/python3.10/site-packages/equinix_metal/models/disk.py", line 97, in from_dict
"partitions": [Partition.from_dict(_item) for _item in obj["partitions"]] if obj.get("partitions") is not None else None,
File "~/code/github/metal_ra/.venv/lib/python3.10/site-packages/equinix_metal/models/disk.py", line 97, in <listcomp>
"partitions": [Partition.from_dict(_item) for _item in obj["partitions"]] if obj.get("partitions") is not None else None,
File "~/code/github/metal_ra/.venv/lib/python3.10/site-packages/equinix_metal/models/partition.py", line 86, in from_dict
_obj = cls.model_validate({
File "~/code/github/metal_ra/.venv/lib/python3.10/site-packages/pydantic/main.py", line 509, in model_validate
return cls.__pydantic_validator__.validate_python(
pydantic_core._pydantic_core.ValidationError: 1 validation error for Partition
size
Is it possible that a device in inventory can't be parsed if it contains CPR (partition) data?
The text was updated successfully, but these errors were encountered:
via @dlotterman:
The text was updated successfully, but these errors were encountered: