@@ -65,6 +65,8 @@ def format_index(body: Json) -> Json:
6565 result ["cacheEnabled" ] = body ["cacheEnabled" ]
6666 if "legacyPolygons" in body :
6767 result ["legacyPolygons" ] = body ["legacyPolygons" ]
68+ if "estimates" in body :
69+ result ["estimates" ] = body ["estimates" ]
6870
6971 return verify_format (body , result )
7072
@@ -227,6 +229,8 @@ def format_collection(body: Json) -> Json:
227229 }
228230 for cv in body ["computedValues" ]
229231 ]
232+ if "internalValidatorType" in body :
233+ result ["internal_validator_type" ] = body ["internalValidatorType" ]
230234
231235 return verify_format (body , result )
232236
@@ -393,6 +397,10 @@ def format_server_status(body: Json) -> Json:
393397 """
394398 result : Json = {}
395399
400+ if "agency" in body :
401+ result ["agency" ] = body ["agency" ]
402+ if "coordinator" in body :
403+ result ["coordinator" ] = body ["coordinator" ]
396404 if "foxxApi" in body :
397405 result ["foxx_api" ] = body ["foxxApi" ]
398406 if "host" in body :
@@ -985,6 +993,9 @@ def format_backup(body: Json) -> Json:
985993 if "nrPiecesPresent" in body :
986994 result ["pieces_present" ] = body ["nrPiecesPresent" ]
987995
996+ if "countIncludesFilesOnly" in body :
997+ result ["count_includes_files_only" ] = body ["countIncludesFilesOnly" ]
998+
988999 return verify_format (body , result )
9891000
9901001
@@ -1135,6 +1146,14 @@ def format_pregel_job_data(body: Json) -> Json:
11351146 # The detail element was introduced in 3.10
11361147 if "detail" in body :
11371148 result ["detail" ] = body ["detail" ]
1149+ if "database" in body :
1150+ result ["database" ] = body ["database" ]
1151+ if "masterContext" in body :
1152+ result ["master_context" ] = body ["masterContext" ]
1153+ if "parallelism" in body :
1154+ result ["parallelism" ] = body ["parallelism" ]
1155+ if "useMemoryMaps" in body :
1156+ result ["use_memory_maps" ] = body ["useMemoryMaps" ]
11381157
11391158 return verify_format (body , result )
11401159
@@ -1177,12 +1196,18 @@ def format_graph_properties(body: Json) -> Json:
11771196 }
11781197 if "isSmart" in body :
11791198 result ["smart" ] = body ["isSmart" ]
1199+ if "isSatellite" in body :
1200+ result ["is_satellite" ] = body ["isSatellite" ]
11801201 if "smartGraphAttribute" in body :
11811202 result ["smart_field" ] = body ["smartGraphAttribute" ]
11821203 if "numberOfShards" in body :
11831204 result ["shard_count" ] = body ["numberOfShards" ]
11841205 if "replicationFactor" in body :
11851206 result ["replication_factor" ] = body ["replicationFactor" ]
1207+ if "minReplicationFactor" in body :
1208+ result ["min_replication_factor" ] = body ["minReplicationFactor" ]
1209+ if "writeConcern" in body :
1210+ result ["write_concern" ] = body ["writeConcern" ]
11861211
11871212 return verify_format (body , result )
11881213
0 commit comments