Skip to main content

Object Representation

The replit.object_storage.object module provides a Pythonic representation of an Object in Object Storage. This module contains the Object class, which encapsulates metadata about an Object stored in an Object Storage Bucket.

import replit.object_storage.object 

Class Object

The Object class is a Python data class representing an Object in Object Storage. It contains metadata attributes such as the Object's name.

@dataclass
class Object()

Attribute:

  • name(str) - The name of the Object.
Was this helpful?