Hi all, when using a custom transformer, is there a way to retrieve the name of the current entity in the
transform_aspect()
method?
c
careful-pilot-86309
07/13/2022, 1:31 PM
Are you using same transformer to process different types of entities? If not you can call entity_types()[0]. Ref.
In case there are multiple entities, you can decode "entity_urn" parameter of transform_aspect() to get entity type. Urns generally start with below pattern "urnlidataset.......", "urnlidataPlatform....."
f
faint-advantage-18690
07/13/2022, 1:38 PM
Thanks for your reply @careful-pilot-86309 ! In this instance, calling entity_types would return the type of the entity but I would like to get the name of the table being processed.