Assets Component
Used to sync assets from a source instance to a destination instance of Swimlane
sync_asset
This method will create (add) a single asset from a source instance to a destination instance.
Currently we are only adding assets and NOT updating them but this functionality may expand in the future.
Args: asset (dict): A single Swimlane asset dictionary from the Swimlane API
def sync_asset(self, asset: dict)
sync
This method is used to sync (create) all assets from a source instance to a destination instance
def sync(self)