taskflow 6.0.0__py3-none-any.whl → 6.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,6 @@ def upgrade():
33
33
  batch_op.drop_index("logbook_uuid_idx")
34
34
  batch_op.create_index(
35
35
  index_name="logbook_uuid_idx",
36
- table_name="logbooks",
37
36
  columns=['uuid'],
38
37
  unique=True)
39
38
 
@@ -41,7 +40,6 @@ def upgrade():
41
40
  batch_op.drop_index("flowdetails_uuid_idx")
42
41
  batch_op.create_index(
43
42
  index_name="flowdetails_uuid_idx",
44
- table_name="flowdetails",
45
43
  columns=['uuid'],
46
44
  unique=True)
47
45
 
@@ -49,7 +47,6 @@ def upgrade():
49
47
  batch_op.drop_index("taskdetails_uuid_idx")
50
48
  batch_op.create_index(
51
49
  index_name="taskdetails_uuid_idx",
52
- table_name="atomdetails",
53
50
  columns=['uuid'],
54
51
  unique=True)
55
52
 
@@ -62,19 +59,16 @@ def downgrade():
62
59
  batch_op.drop_index("logbook_uuid_idx")
63
60
  batch_op.create_index(
64
61
  index_name="logbook_uuid_idx",
65
- table_name="logbooks",
66
62
  columns=['uuid'])
67
63
 
68
64
  with op.batch_alter_table("flowdetails") as batch_op:
69
65
  batch_op.drop_index("flowdetails_uuid_idx")
70
66
  batch_op.create_index(
71
67
  index_name="flowdetails_uuid_idx",
72
- table_name="flowdetails",
73
68
  columns=['uuid'])
74
69
 
75
70
  with op.batch_alter_table("atomdetails") as batch_op:
76
71
  batch_op.drop_index("taskdetails_uuid_idx")
77
72
  batch_op.create_index(
78
73
  index_name="taskdetails_uuid_idx",
79
- table_name="atomdetails",
80
74
  columns=['uuid'])
@@ -173,7 +173,7 @@ class MysqlPersistenceTest(BackendPersistenceTestMixin, test.TestCase):
173
173
  db_uri = _get_connect_string('mysql', USER, PASSWD)
174
174
  engine = sa.create_engine(db_uri)
175
175
  with contextlib.closing(engine.connect()) as conn:
176
- conn.execute("CREATE DATABASE %s" % DATABASE)
176
+ conn.execute(sa.text("CREATE DATABASE %s" % DATABASE))
177
177
  except Exception as e:
178
178
  raise Exception('Failed to initialize MySQL db: %s' % (e))
179
179
  finally:
@@ -190,7 +190,7 @@ class MysqlPersistenceTest(BackendPersistenceTestMixin, test.TestCase):
190
190
  try:
191
191
  engine = sa.create_engine(self.db_uri)
192
192
  with contextlib.closing(engine.connect()) as conn:
193
- conn.execute("DROP DATABASE IF EXISTS %s" % DATABASE)
193
+ conn.execute(sa.text("DROP DATABASE IF EXISTS %s" % DATABASE))
194
194
  except Exception as e:
195
195
  raise Exception('Failed to remove temporary database: %s' % (e))
196
196
  finally:
@@ -215,7 +215,7 @@ class PostgresPersistenceTest(BackendPersistenceTestMixin, test.TestCase):
215
215
  engine = sa.create_engine(db_uri)
216
216
  with contextlib.closing(engine.connect()) as conn:
217
217
  conn.connection.set_isolation_level(0)
218
- conn.execute("CREATE DATABASE %s" % DATABASE)
218
+ conn.execute(sa.text("CREATE DATABASE %s" % DATABASE))
219
219
  conn.connection.set_isolation_level(1)
220
220
  except Exception as e:
221
221
  raise Exception('Failed to initialize PostgreSQL db: %s' % (e))
@@ -239,7 +239,7 @@ class PostgresPersistenceTest(BackendPersistenceTestMixin, test.TestCase):
239
239
  engine = sa.create_engine(db_uri)
240
240
  with contextlib.closing(engine.connect()) as conn:
241
241
  conn.connection.set_isolation_level(0)
242
- conn.execute("DROP DATABASE IF EXISTS %s" % DATABASE)
242
+ conn.execute(sa.text("DROP DATABASE IF EXISTS %s" % DATABASE))
243
243
  conn.connection.set_isolation_level(1)
244
244
  except Exception as e:
245
245
  raise Exception('Failed to remove temporary database: %s' % (e))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: taskflow
3
- Version: 6.0.0
3
+ Version: 6.0.1
4
4
  Summary: Taskflow structured state management library.
5
5
  Home-page: https://docs.openstack.org/taskflow/latest/
6
6
  Author: OpenStack
@@ -134,7 +134,7 @@ taskflow/persistence/backends/sqlalchemy/alembic/README,sha256=K6farsrYU2S5Gb1nr
134
134
  taskflow/persistence/backends/sqlalchemy/alembic/alembic.ini,sha256=9Tb5IRu220Gl3gARRXRw0jL5Caql4JNjF1C-VUenEvI,420
135
135
  taskflow/persistence/backends/sqlalchemy/alembic/env.py,sha256=ovwG5S6520pExA5NB170WAHk30uLeEqAQnH7DJv2xZA,2658
136
136
  taskflow/persistence/backends/sqlalchemy/alembic/script.py.mako,sha256=D8kFI44_9vBJZrAYSkZxDTX2-S5Y-oEetEd9BKlo9S8,412
137
- taskflow/persistence/backends/sqlalchemy/alembic/versions/00af93df9d77_add_unique_into_all_indexes.py,sha256=Ifw1ik9i_dh4EWE4NlIWbAldZWmd2-sRyARnLUR6wdk,2762
137
+ taskflow/persistence/backends/sqlalchemy/alembic/versions/00af93df9d77_add_unique_into_all_indexes.py,sha256=2vfv8bGrwo-obbHdzbl1jayysFS3YB3cdZbyorvL3yM,2516
138
138
  taskflow/persistence/backends/sqlalchemy/alembic/versions/0bc3e1a3c135_set_result_meduimtext_type.py,sha256=3AM6AyxwC4seS5lo_XKixPxdw1XJB4ly5Og9WXnZ-FM,1315
139
139
  taskflow/persistence/backends/sqlalchemy/alembic/versions/14b227d79a87_add_intention_column.py,sha256=R1m7CqB5FLffaLytLFxfNK6PnfLgG-sQBDjLXAXKV90,1230
140
140
  taskflow/persistence/backends/sqlalchemy/alembic/versions/1c783c0c2875_replace_exception_an.py,sha256=iTT3oqLMMMgEOMeRxC1fqhKtlqXp9vP3wkUchwfqXWY,1412
@@ -198,7 +198,7 @@ taskflow/tests/unit/persistence/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm
198
198
  taskflow/tests/unit/persistence/base.py,sha256=MdnQD8nG_TghT7VL4DRyluhCFvjqfjPP4IzSxQUnrMg,16518
199
199
  taskflow/tests/unit/persistence/test_dir_persistence.py,sha256=PTbOA-bte1VXox8bc_uxlrZasKAdY7lJ6tA3aJaRNKk,3856
200
200
  taskflow/tests/unit/persistence/test_memory_persistence.py,sha256=TVVPQQPryX8lK-RXYY1BNYBqNjYK-2X65MyN3UAmOGs,7792
201
- taskflow/tests/unit/persistence/test_sql_persistence.py,sha256=tdIKuRzBuGrKNJbHTbLcISkzS1vb0Rpf4mzQUKwwkpo,10152
201
+ taskflow/tests/unit/persistence/test_sql_persistence.py,sha256=8TA5B1z2CNbtL8S4D0devfTrNR6BQlGObUqkFjcM1CQ,10188
202
202
  taskflow/tests/unit/persistence/test_zk_persistence.py,sha256=YB8pytcRgANRa2HSpHOzJ8CpqlsDFHlEZ8bJUULs18k,3575
203
203
  taskflow/tests/unit/worker_based/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
204
204
  taskflow/tests/unit/worker_based/test_creation.py,sha256=7ohfSkA2nnFkJyjrRiaOr2nA-b5M1iw3CsKKPI3tjWc,4020
@@ -233,11 +233,11 @@ taskflow/utils/persistence_utils.py,sha256=butzDfSRKoy22Z9Jt92xzDGfabNKxu2kSRgI5
233
233
  taskflow/utils/redis_utils.py,sha256=gT1xPpV8uXMaQxGWqtpgigHbx4rJijzl329R1r4RDxM,4297
234
234
  taskflow/utils/schema_utils.py,sha256=BwZmYjLMC7N2rbx53Z1zREP4jaRQyRNYYOLCFf3Rrkk,1409
235
235
  taskflow/utils/threading_utils.py,sha256=wdLhE2HvEQsnO8oKcjOXHRqY-dIJgSxZVX6YW6W6qfo,5816
236
- taskflow-6.0.0.dist-info/AUTHORS,sha256=WvZWwtKE3NpQerTymaWGoTlVa6zh4KfYlWvEXsJv1PE,4608
237
- taskflow-6.0.0.dist-info/LICENSE,sha256=0t4vVm0tDgtQn7DqH6Nmn0kGSrHeIcV0U8qzdQojTo8,10143
238
- taskflow-6.0.0.dist-info/METADATA,sha256=4VfDmJH3SkwuVTXeWa2Isx4mtbxe5zucE2KU3yB8g0c,5576
239
- taskflow-6.0.0.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
240
- taskflow-6.0.0.dist-info/entry_points.txt,sha256=-cLcvncQdUIhZ0pSd10UBTItZsJxlgu1uQIhkcpzh4Y,1235
241
- taskflow-6.0.0.dist-info/pbr.json,sha256=gyUdxkH9XMy4c6QxQo2BdREV93X9FC_rGvejssjDkOs,47
242
- taskflow-6.0.0.dist-info/top_level.txt,sha256=PsdN41vwysesDlqHCSVVXH4mkTMdMiZFW_yHEAXiZE4,9
243
- taskflow-6.0.0.dist-info/RECORD,,
236
+ taskflow-6.0.1.dist-info/AUTHORS,sha256=WvZWwtKE3NpQerTymaWGoTlVa6zh4KfYlWvEXsJv1PE,4608
237
+ taskflow-6.0.1.dist-info/LICENSE,sha256=0t4vVm0tDgtQn7DqH6Nmn0kGSrHeIcV0U8qzdQojTo8,10143
238
+ taskflow-6.0.1.dist-info/METADATA,sha256=_zHJQsfhRuZxAY795gyZHXoXHrWtTRSZDsZdxLsmfYw,5576
239
+ taskflow-6.0.1.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
240
+ taskflow-6.0.1.dist-info/entry_points.txt,sha256=-cLcvncQdUIhZ0pSd10UBTItZsJxlgu1uQIhkcpzh4Y,1235
241
+ taskflow-6.0.1.dist-info/pbr.json,sha256=3X-WWXQHfTfVjIcORiKTlWOOn2jQxu640Y953ok-9Io,47
242
+ taskflow-6.0.1.dist-info/top_level.txt,sha256=PsdN41vwysesDlqHCSVVXH4mkTMdMiZFW_yHEAXiZE4,9
243
+ taskflow-6.0.1.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ {"git_version": "d01920ef", "is_release": true}
@@ -1 +0,0 @@
1
- {"git_version": "32a8d257", "is_release": true}