Move, rename and remove fields
Moving fields
# Assuming the following structure:
# User { id, firstName, lastName, addressId }
# Address { id, streetName, streetNumber, city, countryId }
# Country { id, name }
agent.customize_collection("User").import_field(
"city", {"path": "address:city", "readonly": True}
).import_field("country", {"path": "address:country:name", "readonly": True})Renaming and removing fields and relations
Last updated