For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Blog
DocsAPI Reference
DocsAPI Reference
  • Python SDK
        • Aistore
          • Botocore Patch
          • Mcp
          • Pytorch
          • Sdk
            • Ais Source
            • Archive Config
            • Authn
            • Batch
            • Blob Download Config
            • Bucket
            • Client
            • Cluster
            • Const
            • Dataset
              • Config Attribute
              • Data Attribute
              • Data Shard
              • Dataset Config
              • Label Attribute
            • Dsort
            • Enums
            • Errors
            • Etl
            • Job
            • List Object Flag
            • Lock Poller
            • Multiobj
            • Namespace
            • Obj
            • Provider
            • Request Client
            • Request Executor
            • Response Handler
            • Retry Config
            • Retry Manager
            • Session Manager
            • Types
            • Utils
            • Wait Result
          • Version
Blog
NVIDIANVIDIA
Developer-friendly docs for your API
Privacy Policy | Your Privacy Choices | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact

Copyright © 2026, NVIDIA Corporation.

LogoLogoAIStore
On this page
  • Module Contents
  • Classes
  • API
Python SDKPythonPythonAistoreSdkDataset

aistore.sdk.dataset.data_attribute

||View as Markdown|
Previous

aistore.sdk.dataset.config_attribute

Next

aistore.sdk.dataset.data_shard

Module Contents

Classes

NameDescription
DataAttributeHandles data attributes for datasets, managing the retrieval of attribute data from files

API

class aistore.sdk.dataset.data_attribute.DataAttribute(
path: pathlib.Path,
name: str,
file_type: str
)

Bases: ConfigAttribute

Handles data attributes for datasets, managing the retrieval of attribute data from files

Parameters:

path
Path

The file path where the attribute data is stored

name
str

The name of the attribute, used as a reference and identifier in the dataset

file_type
str

The type of file that stores the attribute data (e.g., ‘jpg’, ‘png’, ‘csv’)

aistore.sdk.dataset.data_attribute.DataAttribute.get_data_for_entry(
filename: str
) -> typing.Tuple[str, any]

Get the data for a given filename

Parameters:

filename
str

The name of the file to retrieve data for

Returns: Tuple[str, any]

Tuple[str, any]: A tuple containing the sample key and the data for the given filename