13 lines
358 B
Python
13 lines
358 B
Python
from .Ref import Ref
|
|
import datetime
|
|
|
|
|
|
class Replica(Ref):
|
|
"""
|
|
A Replica is a fallback copy of a distributed asset that is updated by a queued update message
|
|
"""
|
|
lastUpdate = datetime.datetime.now()
|
|
|
|
def __init__(self, data: dict, metadata: dict, path: str, remoteNodeID: str):
|
|
super().__init__(metadata+data, path, remoteNodeID)
|