Documentation ¶
Index ¶
- Variables
- type DataSourceValue
- func (d DataSourceValue) Freeze()
- func (d DataSourceValue) GetHostDir() (string, error)
- func (d DataSourceValue) Hash() (uint32, error)
- func (d DataSourceValue) Init() error
- func (d DataSourceValue) String() string
- func (d DataSourceValue) Truth() starlark.Bool
- func (d DataSourceValue) Type() string
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
Click to show internal directories.
Click to hide internal directories.