<commit_before>package dsdk

import (
	"context"

	udc "github.com/Datera/go-udc/pkg/udc"
	log "github.com/sirupsen/logrus"
)

const (
	VERSION         = "1.1.0"
	VERSION_HISTORY = `
		1.1.0 -- Revamped SDK to new directory structure, switched to using grequests and added UDC support
	`
)

type SDK struct {
	conf            *udc.UDC
	conn            *ApiConnection
	ctxt            context.Context
	AppInstances    *AppInstances
	Initiators      *Initiators
	InitiatorGroups *InitiatorGroups
	StorageNodes    *StorageNodes
	StoragePools    *StoragePools
}

func NewSDK(c *udc.UDC, secure bool) (*SDK, error) {
	var err error
	if c == nil {
		c, err = udc.GetConfig()<commit_msg>Incrementing version to 2.0.  Still in progress<commit_after>package dsdk

import (
	"context"

	udc "github.com/Datera/go-udc/pkg/udc"
	log "github.com/sirupsen/logrus"
)

const (
	VERSION         = "2.0.0"
	VERSION_HISTORY = `
		2.0.0 -- Revamped SDK to new directory structure, switched to using grequests and added UDC support
	`
)

type SDK struct {
	conf            *udc.UDC
	conn            *ApiConnection
	ctxt            context.Context
	AppInstances    *AppInstances
	Initiators      *Initiators
	InitiatorGroups *InitiatorGroups
	StorageNodes    *StorageNodes
	StoragePools    *StoragePools
}

func NewSDK(c *udc.UDC, secure bool) (*SDK, error) {
	var err error
	if c == nil {
		c, err = udc.GetConfig()
{'fraction_non_alphanumeric': 0.09325681492109039, 'fraction_numerical': 0.010043041606886656, 'mean_word_length': 2.875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '569971', 'n_tokens_mistral': 518, 'n_tokens_neox': 500, 'n_words': 129}