-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect Asset.name when accessing inlet and outlet events (#44639)
* docs: removing examples that accessing inlet and outlet events * feat(utils/context): Deprecate accessing inlet and outlet events through string * fix(util/context): use asset unique key in outlet event accessors * feat(asset): extend AssetAliasEvent to include asset uri and asset name * refactor(asset): merge dest_asset_name and dest_asset_uri to dest_asset_key for AssetAliasEvent * refactor(context): fix context typing * feat(utils/context): add back string access to inlet and outlet events * feat(utils/context): forbid using string to access inlet and outlet event * feat(utils/context): rename AssetUniqueKey and AssetAliasUniqueKey to_obj methods to to_asset, to_asset_alias * refactor(utils/context): remove redundant iter call Co-authored-by: Tzu-ping Chung <[email protected]> * feat(metadata): remove string access support to Metadata * fix(serialization): fix asset unique key serialization * feat(asset): make asset unique key an attrs * fix(serialization): fix asset unique and asset alias unique serialization * feat(utils/context): change outlet_event error to TypeError when non-asset or non-asset-alias is passed --------- Co-authored-by: Tzu-ping Chung <[email protected]>
- Loading branch information
Showing
16 changed files
with
326 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.