Skip to content

Commit

Permalink
Merge pull request #600 from chisholm/relational-data-source
Browse files Browse the repository at this point in the history
Expand relational data store query capability
  • Loading branch information
rpiazza authored Sep 13, 2024
2 parents f4f1828 + c33d879 commit dcd2a50
Show file tree
Hide file tree
Showing 5 changed files with 964 additions and 65 deletions.
2 changes: 1 addition & 1 deletion stix2/datastore/relational_db/input_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def generate_insert_information(self, name, stix_object, **kwargs): # noqa: F81

@add_method(HexProperty)
def generate_insert_information(self, name, stix_object, **kwargs): # noqa: F811
v = bytes(stix_object[name], 'utf-8')
v = bytes.fromhex(stix_object[name])
return {name: v}


Expand Down
Loading

0 comments on commit dcd2a50

Please sign in to comment.