def replication(func):
 func.replication = True
 return func

def replication ( func ) : func . replication = True return func
decorator to declare which methods are accessible for different type of servers: * if option replication_server is none then this decorator doesnt matter .