Skip to content

featurebyte.Entity.update_name

update_name(
name: str
)

Description

Updates the name of the Entity object.

Parameters

  • name: str
    New entity name.

Examples

Update entity name:

>>> entity = catalog.get_entity(name="grocerycustomer")
>>> entity.update_name(name="grocery_customer")
>>> entity.name
'grocery_customer'

>>> entity.update_name(name="grocerycustomer")
>>> entity.name
'grocerycustomer'
Show the history of the entity name:

>>> entity.name_history
[{'created_at': ..., 'name': 'grocerycustomer'},
{'created_at': ..., 'name': 'grocery_customer'},
{'created_at': ..., 'name': 'grocerycustomer'}...]

See Also