Fix GetCatalog

This commit is contained in:
Ivan Vazhenin
2023-03-26 15:29:17 +03:00
parent 65c0b561a7
commit c2383140b6
12 changed files with 109 additions and 34 deletions

23
reqs/models.py Normal file
View File

@@ -0,0 +1,23 @@
from datetime import datetime
class ReplicantInfo:
server_address: str
filter_string: str
replicant_id: str
replicant_user_id: str
replicate_classifiers: bool
class CorrectingReplicationOutPackage:
package_id: int
status: int
from_date: datetime
replication_date: datetime
replication_timeout_date: datetime
end_date: datetime
replicant_id: str
server_address: str
filter_string: str
replication_period: int
replication_timeout: int