def from_yaml(self, content):
        if yaml is None:
            raise ImproperlyConfigured("Usage of the YAML aspects requires yaml.")

        return yaml.load(content, Loader=TastypieLoader)
Translate interactive expressions into normal abstract expressions
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tastypie/serializers.py/Serializer.from_yaml--crossover with--dataset/ETHPy150Open blaze/blaze/blaze/compute/core.py/swap_resources_into_scope