data

package
v0.3.40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = &starlarkstruct.Module{
	Name: "data",
	Members: starlark.StringDict{
		"envd": starlark.NewBuiltin(ruleEnvdManagedDataSource, ruleValueEnvdManagedDataSource),
		"path": &starlarkstruct.Module{
			Name: "path",
			Members: starlark.StringDict{
				"huggingface": starlark.String(huggingFaceDatasetPath),
				"dgl":         starlark.String(dglFaceDatasetPath),
			}},
	},
}

Functions

This section is empty.

Types

type DataSourceValue

type DataSourceValue struct {
	// contains filtered or unexported fields
}

func NewDataSourceValue

func NewDataSourceValue(source envddata.DataSource) *DataSourceValue

func (DataSourceValue) Freeze

func (d DataSourceValue) Freeze()

func (DataSourceValue) GetHostDir

func (d DataSourceValue) GetHostDir() (string, error)

func (DataSourceValue) Hash

func (d DataSourceValue) Hash() (uint32, error)

func (DataSourceValue) Init

func (d DataSourceValue) Init() error

func (DataSourceValue) String

func (d DataSourceValue) String() string

func (DataSourceValue) Truth

func (d DataSourceValue) Truth() starlark.Bool

func (DataSourceValue) Type

func (d DataSourceValue) Type() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL