File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
yamcs-client/src/yamcs/client/archive Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -1233,6 +1233,26 @@ def purge_parameter_archive(self):
12331233 url = f"/archive/{ self ._instance } /parameterArchive:purge"
12341234 self .ctx .post_proto (url , data = req .SerializeToString ())
12351235
1236+ def enable_parameter_archive_backfilling (self ):
1237+ """
1238+ Enables the automatic backfilling (rebuilding) of the parameter archive.
1239+
1240+ If the backfilling is already enabled, this operation has no effect.
1241+ """
1242+ req = parameter_archive_service_pb2 .PurgeRequest ()
1243+ url = f"/archive/{ self ._instance } /parameterArchive:enableBackfilling"
1244+ self .ctx .post_proto (url , data = req .SerializeToString ())
1245+
1246+ def disable_parameter_archive_backfilling (self ):
1247+ """
1248+ Disables the automatic backfilling (rebuilding) of the parameter archive.
1249+
1250+ If the backfilling is already disabled, this operation has no effect.
1251+ """
1252+ req = parameter_archive_service_pb2 .PurgeRequest ()
1253+ url = f"/archive/{ self ._instance } /parameterArchive:disableBackfilling"
1254+ self .ctx .post_proto (url , data = req .SerializeToString ())
1255+
12361256 def rebuild_ccsds_index (
12371257 self ,
12381258 start : Optional [datetime ] = None ,
You can’t perform that action at this time.
0 commit comments