From 1899a303e60c86c870f8dcb59a20617b21c6d047 Mon Sep 17 00:00:00 2001 From: Alex Rothberg Date: Sun, 5 May 2024 18:55:09 -0400 Subject: [PATCH] Support IRI type. --- graphqldb/adapter.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/graphqldb/adapter.py b/graphqldb/adapter.py index 4f4f885..d5e1741 100644 --- a/graphqldb/adapter.py +++ b/graphqldb/adapter.py @@ -68,6 +68,11 @@ def parse_gql_type(type_info: TypeInfo) -> Field: # TODO(cancan101): figure out if we want to map this to UUID, int, etc # This should probably be an API-level setting return String() + elif name == "IRI": + # TODO(cancan101): figure out if we want to map this to Python + # native type, string, etc. + # This should probably be an API-level setting + return String() elif name == "Int": return Integer() elif name == "Float":