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
# check that all the fields under property metadata are in attributes
232
-
attributes=info.data.get("attributes", {})
234
+
attributes=data.get("attributes", {})
233
235
property_error_fields: list[str] = []
234
236
forsubfieldinproperty_metadata:
235
237
ifsubfieldnotinattributes:
236
238
property_error_fields.append(subfield)
237
239
238
240
ifproperty_error_fields:
239
241
raiseValueError(
240
-
f"The keys under the field `property_metadata` need to match with the field names in attributes. The field(s) {property_error_fields} are however not present in attributes."
242
+
f"The keys under the field `property_metadata` need to match with the field names in attributes. The field(s) {property_error_fields} are however not present in attributes{attributes}"
f"The keys under the field `meta` need to be prefixed if not otherwise defined. The field(s) {meta_error_fields} are not defined for per-entry `meta`."
0 commit comments