From 1af893ea472cf988ff19703117b6f9ca8015600b Mon Sep 17 00:00:00 2001 From: Michael Chisholm Date: Tue, 19 Nov 2024 00:05:43 -0500 Subject: [PATCH] Add a missing "return" to determine_sql_type_from_stix() --- stix2/datastore/relational_db/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stix2/datastore/relational_db/utils.py b/stix2/datastore/relational_db/utils.py index ca387e46..65257426 100644 --- a/stix2/datastore/relational_db/utils.py +++ b/stix2/datastore/relational_db/utils.py @@ -147,7 +147,7 @@ def determine_sql_type_from_stix(cls_or_inst, db_backend): # noqa: F811 elif is_class_or_instance(cls_or_inst, StringProperty): return db_backend.determine_sql_type_for_string_property() elif is_class_or_instance(cls_or_inst, ReferenceProperty): - db_backend.determine_sql_type_for_reference_property() + return db_backend.determine_sql_type_for_reference_property() elif is_class_or_instance(cls_or_inst, TimestampProperty): return db_backend.determine_sql_type_for_timestamp_property() elif is_class_or_instance(cls_or_inst, Property):