From 8d988a7e8c857d91c37b28d522bf1bb7c8d74232 Mon Sep 17 00:00:00 2001 From: Noa Aviel Dove Date: Fri, 17 May 2024 19:45:45 -0700 Subject: [PATCH] Add FIXME (#6139) --- src/azul/service/avro_pfb.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/azul/service/avro_pfb.py b/src/azul/service/avro_pfb.py index a6807cd9d..41c4a8732 100644 --- a/src/azul/service/avro_pfb.py +++ b/src/azul/service/avro_pfb.py @@ -334,6 +334,8 @@ def pfb_schema_from_anvil_schema(anvil_schema: JSON) -> tuple[Sequence[str], JSO entity_types = [] for table_schema in sorted(anvil_schema['tables'], key=itemgetter('name')): table_name = table_schema['name'] + # FIXME: Improve handling of DUOS replicas + # https://github.com/DataBiosphere/azul/issues/6139 is_duos_type = table_name == 'anvil_dataset' entity_types.append(table_name) field_schemas = [