def set_metadata(self, session, **metadata):
        if not metadata:
            return dict()

        result = self._metadata(session.post, **metadata)
        return result["metadata"]
Passthrough for scikit-learn pipeline compatibility.
dataset/ETHPy150Open openstack/python-openstacksdk/openstack/compute/v2/metadata.py/MetadataMixin.set_metadata--crossover with--dataset/ETHPy150Open sklearn-theano/sklearn-theano/sklearn_theano/feature_extraction/overfeat.py/OverfeatTransformer.fit