docstr: Deprecated API.
docstr_tok: ["Deprecated","API","."]
code: def check_metadata(self):
      """Deprecated API."""
      warn(
          "distutils.command.register.check_metadata is deprecated; "
          "use the check command instead",
          DeprecationWarning,
      )
      check = self.distribution.get_command_obj("check")
      check.ensure_finalized()
      check.strict = self.strict
      check.restructuredtext = 1
      check.run()
  
file_path: catboost/contrib/python/setuptools/py3/setuptools/_distutils/command/register.py
imports: import getpass
  import io
  import logging
  import urllib.parse
  import urllib.request
  from warnings import warn
  from ..core import PyPIRCCommand
  from distutils._log import log
label_desc: Use image node_id 4 for calling the register obj's underlying member method code with example usage: obj.check_metadata() without return types