Python API Reference
Object Representation
Learn about the Object class in Replit’s object storage Python API, which provides a Pythonic representation of stored objects and their metadata.
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.
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.
Attribute:
name
(str) - The name of the Object.
Was this page helpful?