https://dagster.io/ logo
#ask-community
Title
# ask-community
h

Hiroto Yamakawa

07/17/2023, 10:13 AM
Hello, Similarly to assets loaded from dbt, fivetran or airbyte , I would like to add a small logo, or at least a tag under assets relying on specific resources when displayed on Dagit in order to identify them quickly. Is it something doable easily?
dagster bot responded by community 1
j

Johannes Müller

07/17/2023, 11:18 AM
That would be really neat! I took a look into the code for AirbyteOutput but did not see anything related in the source code.
Also, if you inspect the image in dagit it seems to be a class rather than an actual image.
It looks to me like this is something added by dagit, so it might not be possible to do this via a job configuration.
h

Hiroto Yamakawa

07/17/2023, 11:54 AM
Hum I see, thanks for investigating, didn't think of looking Dagit side! That's unfortunate, even a small text would have been cool
a

Andras Somi

07/17/2023, 1:20 PM
I think you are looking for the
compute_kind
keyword in the
@asset
decorator. It will add a little label to the asset from whatever string you put in there. For some popular kinds (eg. Python, SQL, pandas) Dagit even adds a nice little icon.
❤️ 1
h

Hiroto Yamakawa

07/17/2023, 4:19 PM
@Andras Somi works perfectly, thank you so much!
👍 1