fractal-server 2.6.3__py3-none-any.whl → 2.6.4__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.
@@ -1 +1 @@
1
- __VERSION__ = "2.6.3"
1
+ __VERSION__ = "2.6.4"
@@ -5,7 +5,6 @@ from alembic import context
5
5
  from sqlalchemy.engine import Connection
6
6
  from sqlmodel import SQLModel
7
7
 
8
- from fractal_server.app import models # noqa
9
8
  from fractal_server.config import get_settings
10
9
  from fractal_server.migrations.naming_convention import NAMING_CONVENTION
11
10
  from fractal_server.syringe import Inject
@@ -27,6 +26,10 @@ if config.config_file_name is not None:
27
26
  # target_metadata = mymodel.Base.metadata
28
27
  target_metadata = SQLModel.metadata
29
28
  target_metadata.naming_convention = NAMING_CONVENTION
29
+ # Importing `fractal_server.app.models` after defining
30
+ # `SQLModel.metadata.naming_convention` in order to apply the naming convention
31
+ # when autogenerating migrations (see issue #1819).
32
+ from fractal_server.app import models # noqa
30
33
 
31
34
  # other values from the config, defined by the needs of env.py,
32
35
  # can be acquired:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fractal-server
3
- Version: 2.6.3
3
+ Version: 2.6.4
4
4
  Summary: Server component of the Fractal analytics platform
5
5
  Home-page: https://github.com/fractal-analytics-platform/fractal-server
6
6
  License: BSD-3-Clause
@@ -1,4 +1,4 @@
1
- fractal_server/__init__.py,sha256=Xl00aUdi67dqYV36pJ6CjXHphNon7e48hzkQAE3HlRQ,22
1
+ fractal_server/__init__.py,sha256=3HDGieLq1s25BWP9M9gIGiIzlQ7oJfSC0HfKaBGgnj8,22
2
2
  fractal_server/__main__.py,sha256=WcBAkmVE9aH5mDI6wGkVmPAql2N5Vyk0A-7zuUl8WX0,6122
3
3
  fractal_server/alembic.ini,sha256=MWwi7GzjzawI9cCAK1LW7NxIBQDUqD12-ptJoq5JpP0,3153
4
4
  fractal_server/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -162,7 +162,7 @@ fractal_server/images/tools.py,sha256=gxeniYy4Z-cp_ToK2LHPJUTVVUUrdpogYdcBUvBuLi
162
162
  fractal_server/logger.py,sha256=56wfka6fHaa3Rx5qO009nEs_y8gx5wZ2NUNZZ1I-uvc,5130
163
163
  fractal_server/main.py,sha256=68rVybnviF28yFgRhfHZXwnf6LyzkcmeYYZZppboU4M,4925
164
164
  fractal_server/migrations/README,sha256=4rQvyDfqodGhpJw74VYijRmgFP49ji5chyEemWGHsuw,59
165
- fractal_server/migrations/env.py,sha256=mEiX0TRa_8KAYBrUGJTx1cFJ5YAq_oNHHsFCp1raegk,2543
165
+ fractal_server/migrations/env.py,sha256=9t_OeKVlhM8WRcukmTrLbWNup-imiBGP_9xNgwCbtpI,2730
166
166
  fractal_server/migrations/naming_convention.py,sha256=htbKrVdetx3pklowb_9Cdo5RqeF0fJ740DNecY5de_M,265
167
167
  fractal_server/migrations/script.py.mako,sha256=oMXw9LC3zRbinWWPPDgeZ4z9FJrV2zhRWiYdS5YgNbI,526
168
168
  fractal_server/migrations/versions/091b01f51f88_add_usergroup_and_linkusergroup_table.py,sha256=-BSS9AFTPcu3gYC-sYbawSy4MWQQx8TfMb5BW5EBKmQ,1450
@@ -214,8 +214,8 @@ fractal_server/tasks/v2/utils.py,sha256=JOyCacb6MNvrwfLNTyLwcz8y79J29YuJeJ2MK5kq
214
214
  fractal_server/urls.py,sha256=5o_qq7PzKKbwq12NHSQZDmDitn5RAOeQ4xufu-2v9Zk,448
215
215
  fractal_server/utils.py,sha256=b7WwFdcFZ8unyT65mloFToYuEDXpQoHRcmRNqrhd_dQ,2115
216
216
  fractal_server/zip_tools.py,sha256=xYpzBshysD2nmxkD5WLYqMzPYUcCRM3kYy-7n9bJL-U,4426
217
- fractal_server-2.6.3.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
218
- fractal_server-2.6.3.dist-info/METADATA,sha256=hlZ8xt1P6qEjNO4ySIUzSMfqgQv6RilEJfaWaS5fqBs,4628
219
- fractal_server-2.6.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
220
- fractal_server-2.6.3.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
221
- fractal_server-2.6.3.dist-info/RECORD,,
217
+ fractal_server-2.6.4.dist-info/LICENSE,sha256=QKAharUuhxL58kSoLizKJeZE3mTCBnX6ucmz8W0lxlk,1576
218
+ fractal_server-2.6.4.dist-info/METADATA,sha256=P-YpGYfcb14PaWovFUZmZRKGEXyGXPCYOfgKybmI0Jg,4628
219
+ fractal_server-2.6.4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
220
+ fractal_server-2.6.4.dist-info/entry_points.txt,sha256=8tV2kynvFkjnhbtDnxAqImL6HMVKsopgGfew0DOp5UY,58
221
+ fractal_server-2.6.4.dist-info/RECORD,,