From fab88f5e3f32a86427405ffd91d296a0de839418 Mon Sep 17 00:00:00 2001 From: Noa Aviel Dove Date: Fri, 19 Apr 2024 19:05:46 -0700 Subject: [PATCH] fixup! [a] Create PFB-based verbatim manifest format for AnVIL (#6040) --- src/azul/service/avro_pfb.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/azul/service/avro_pfb.py b/src/azul/service/avro_pfb.py index 5d21ee973..1e64ef8c8 100644 --- a/src/azul/service/avro_pfb.py +++ b/src/azul/service/avro_pfb.py @@ -644,7 +644,7 @@ def _entity_schema_recursive(field_types: FieldTypes, def _update_replica_schema(*, schema: MutableJSON, - path: Sequence[str], + path: tuple[str, ...], key: str, value: AnyMutableJSON): """ @@ -652,7 +652,7 @@ def _update_replica_schema(*, accommodates a given (part of a) JSON document. The schema will only ever expand, so after updating it will describe a superset of the documents that it described pre-update. Starting from an empty schema, repeatedly calling - this function this allows us to discover a general schema for a series of + this function allows us to discover a general schema for a series of documents of unknown shape. :param schema: a part of a PFB schema. It may be empty. @@ -723,7 +723,7 @@ def _update_replica_schema(*, def _new_replica_schema(*, - path: Sequence[str], + path: tuple[str, ...], value: AnyJSON, ) -> AnyMutableJSON: """