code: def set_subject_compatibility_level(self, subject, level):
          
          res = requests.put(
              self._url('/config/{}', subject),
              data=json.dumps({'compatibility': level}),
              headers=HEADERS)
          raise_if_failed(res)
docs: Sets the compatibility level for the given subject.