github-actions[bot] opened a new pull request, #51000:
URL: https://github.com/apache/airflow/pull/51000

   This PR fixes an inconsistency in the `assets.rst` documentation example.  
   The sample code used a plain string for the `alias` argument in 
`Metadata()`, which in reality raises:
   
   > TypeError: Key should be either an asset or an asset alias, not <class 
'str'>
   
   This change updates the example to use a typed 
`AssetAlias("my-task-outputs")`, matching the SDK API and avoiding that error.
   (cherry picked from commit ed671144ca88176e57adc53c64c2226078577452)
   
   Co-authored-by: QBidolet <[email protected]>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to