Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add a missing "return" to determine_sql_type_from_stix() #609

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stix2/datastore/relational_db/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
Loading