From e78a8374096c6dbcb0ea323e38219346014c90fb Mon Sep 17 00:00:00 2001 From: Rich Piazza Date: Tue, 2 Apr 2024 14:36:03 -0400 Subject: [PATCH] flaky --- stix2/datastore/relational_db/table_creation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stix2/datastore/relational_db/table_creation.py b/stix2/datastore/relational_db/table_creation.py index 9f37558f..95ffc5c3 100644 --- a/stix2/datastore/relational_db/table_creation.py +++ b/stix2/datastore/relational_db/table_creation.py @@ -146,11 +146,11 @@ def create_external_references_tables(metadata): Column("url", Text), Column("external_id", Text), # all such keys are generated using the global sequence. - Column("hash_ref_id", Integer, primary_key=True, autoincrement = False) + Column("hash_ref_id", Integer, primary_key=True, autoincrement=False), ] return [ Table("external_references", metadata, *columns, schema="common"), - create_hashes_table("hashes", metadata, "common", "external_references", Integer) + create_hashes_table("hashes", metadata, "common", "external_references", Integer), ] @@ -471,7 +471,7 @@ def generate_table_information(self, name, metadata, schema_name, table_name, ** primary_key=True, nullable=False, # all such keys are generated using the global sequence. - autoincrement = False + autoincrement=False, ), ) tables.append(Table(canonicalize_table_name(table_name + "_" + name), metadata, *columns, schema=schema_name))