def get_related_assets(self, output, relation):
    if self.is_attribute_qualified(relation):
      parts = split_attribute(relation)

      assets = output[parts[0]]

      for part in parts[1:]:
        try:
          asset = assets[0]
        except __HOLE__:
          return []

        assets = asset._v1_getattr(part)
      return assets
    else:
      return output[relation]
dataset/ETHPy150Open versionone/VersionOne.SDK.Python/v1pysdk/v1meta.py/V1Meta.get_related_assets