from ..utils import NamespacedClient, query_params, _make_path, SKIP_IN_PATH class MigrationClient(NamespacedClient): @query_params() def deprecations(self, index=None, params=None): """ ``_ :arg index: Index pattern """ return self.transport.perform_request( "GET", _make_path(index, "_migration", "deprecations"), params=params )