def create_namespaced_custom_object(self, group, version, namespace, plural, body, **kwargs):
kwargs['<STR_LIT>'] = True<EOL>if kwargs.get('<STR_LIT>'):<EOL><INDENT>return self.create_namespaced_custom_object_with_http_info(group, version, namespace, plural, body, **kwargs)<EOL><DEDENT>else:<EOL><INDENT>(data) = self.create_namespaced_custom_object_with_http_info(group, version, namespace, plural, body, **kwargs)<EOL>return data<EOL><DEDENT>
Creates a namespace scoped Custom object
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 object 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.