hbp_service_client/storage_service/client.py
def mkdir(self, path):
        '''Create a folder in the storage service pointed by the given path.

        Args:
            path (str): The path of the folder to be created

        Returns:
            None

        Raises:
            StorageArgumentException: Invalid arguments
            StorageForbiddenException: Server response code 403
            StorageNotFoundException: Server response code 404
            StorageException: other 400-600 error codes
        '''

        self.__validate_storage_path(path, projects_allowed=False)
        parent_metadata = self.get_parent(path)
        self.api_client.create_folder(path.split('/')[-1], parent_metadata['uuid'])
def mkdir(self, path):
        '''Create a folder in the storage service pointed by the given path.

        Args:
            path (str): The path of the folder to be created

        Returns:
            None

        Raises:
            StorageArgumentException: Invalid arguments
            StorageForbiddenException: Server response code 403
            StorageNotFoundException: Server response code 404
            StorageException: other 400-600 error codes
        '''

        self.__validate_storage_path(path, projects_allowed=False)
        parent_metadata = self.get_parent(path)
        self.api_client.create_folder(path.split('/')[-1], parent_metadata['uuid'])
Create a folder in the storage service pointed by the given path.

        Args:
            path (str): The path of the folder to be created

        Returns:
            None

        Raises:
            StorageArgumentException: Invalid arguments
            StorageForbiddenException: Server response code 403
            StorageNotFoundException: Server response code 404
            StorageException: other 400-600 error codes