code: def create_namespaced_custom_object(self, group, version, namespace, plural, body, **kwargs):  # noqa: E501
          
          kwargs['_return_http_data_only'] = True
          if kwargs.get('async_req'):
              return self.create_namespaced_custom_object_with_http_info(group, version, namespace, plural, body, **kwargs)  # noqa: E501
          else:
              (data) = self.create_namespaced_custom_object_with_http_info(group, version, namespace, plural, body, **kwargs)  # noqa: E501
              return data
docs: create_namespaced_custom_object  # noqa: E501
  
          Creates a namespace scoped Custom object  # noqa: E501
          This method makes a synchronous HTTP request by default. To make an
          asynchronous HTTP request, please pass async_req=True
          >>> thread = api.create_namespaced_custom_object(group, version, namespace, plural, body, async_req=True)
          >>> result = thread.get()
  
          :param async_req bool
          :param str group: The custom resource's group name (required)
          :param str version: The custom resource's version (required)
          :param str namespace: The custom resource's namespace (required)
          :param str plural: The custom resource's plural name. For TPRs this would be lowercase plural kind. (required)
          :param UNKNOWN_BASE_TYPE body: The JSON schema of the Resource to create. (required)
          :param str pretty: If 'true', then the output is pretty printed.
          :return: object
                   If the method is called asynchronously,
                   returns the request thread.