zou 0.19.46__py3-none-any.whl → 0.19.48__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.
- zou/__init__.py +1 -1
- zou/app/blueprints/crud/organisation.py +6 -0
- zou/app/blueprints/previews/resources.py +1 -1
- zou/app/models/organisation.py +2 -0
- {zou-0.19.46.dist-info → zou-0.19.48.dist-info}/METADATA +3 -3
- {zou-0.19.46.dist-info → zou-0.19.48.dist-info}/RECORD +10 -10
- {zou-0.19.46.dist-info → zou-0.19.48.dist-info}/WHEEL +1 -1
- {zou-0.19.46.dist-info → zou-0.19.48.dist-info}/LICENSE +0 -0
- {zou-0.19.46.dist-info → zou-0.19.48.dist-info}/entry_points.txt +0 -0
- {zou-0.19.46.dist-info → zou-0.19.48.dist-info}/top_level.txt +0 -0
zou/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.19.
|
|
1
|
+
__version__ = "0.19.48"
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
from zou.app.models.organisation import Organisation
|
|
2
2
|
from zou.app.blueprints.crud.base import BaseModelResource, BaseModelsResource
|
|
3
3
|
|
|
4
|
+
from zou.app.services import persons_service
|
|
5
|
+
|
|
4
6
|
|
|
5
7
|
class OrganisationsResource(BaseModelsResource):
|
|
6
8
|
def __init__(self):
|
|
@@ -21,3 +23,7 @@ class OrganisationResource(BaseModelResource):
|
|
|
21
23
|
if "hours_by_day" in data:
|
|
22
24
|
data["hours_by_day"] = float(data["hours_by_day"])
|
|
23
25
|
return data
|
|
26
|
+
|
|
27
|
+
def post_update(self, instance_dict, data):
|
|
28
|
+
persons_service.clear_oranisation_cache()
|
|
29
|
+
return instance_dict
|
|
@@ -1013,7 +1013,7 @@ class OrganisationThumbnailResource(BaseThumbnailResource):
|
|
|
1013
1013
|
)
|
|
1014
1014
|
|
|
1015
1015
|
def is_exist(self, organisation_id):
|
|
1016
|
-
self.model = persons_service.get_organisation(
|
|
1016
|
+
self.model = persons_service.get_organisation()
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
1019
|
class CreateOrganisationThumbnailResource(OrganisationThumbnailResource):
|
zou/app/models/organisation.py
CHANGED
|
@@ -32,5 +32,7 @@ class Organisation(db.Model, BaseMixin, SerializerMixin):
|
|
|
32
32
|
"hd_by_default": self.hd_by_default,
|
|
33
33
|
"use_original_file_name": self.use_original_file_name,
|
|
34
34
|
"timesheets_locked": self.timesheets_locked,
|
|
35
|
+
"updated_at": self.updated_at,
|
|
36
|
+
"created_at": self.created_at,
|
|
35
37
|
}
|
|
36
38
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: zou
|
|
3
|
-
Version: 0.19.
|
|
3
|
+
Version: 0.19.48
|
|
4
4
|
Summary: API to store and manage the data of your animation production
|
|
5
5
|
Home-page: https://zou.cg-wire.com
|
|
6
6
|
Author: CG Wire
|
|
@@ -71,7 +71,7 @@ Requires-Dist: sqlalchemy ==2.0.31
|
|
|
71
71
|
Requires-Dist: ua-parser ==0.18.0
|
|
72
72
|
Requires-Dist: werkzeug ==3.0.3
|
|
73
73
|
Requires-Dist: numpy ==1.24.4 ; python_version == "3.8"
|
|
74
|
-
Requires-Dist: numpy ==2.0.
|
|
74
|
+
Requires-Dist: numpy ==2.0.1 ; python_version >= "3.9"
|
|
75
75
|
Provides-Extra: dev
|
|
76
76
|
Requires-Dist: wheel ; extra == 'dev'
|
|
77
77
|
Provides-Extra: lint
|
|
@@ -89,7 +89,7 @@ Provides-Extra: test
|
|
|
89
89
|
Requires-Dist: fakeredis ==2.23.3 ; extra == 'test'
|
|
90
90
|
Requires-Dist: mixer ==7.2.2 ; extra == 'test'
|
|
91
91
|
Requires-Dist: pytest-cov ==5.0.0 ; extra == 'test'
|
|
92
|
-
Requires-Dist: pytest ==8.
|
|
92
|
+
Requires-Dist: pytest ==8.3.1 ; extra == 'test'
|
|
93
93
|
|
|
94
94
|
.. figure:: https://zou.cg-wire.com/kitsu.png
|
|
95
95
|
:alt: Kitsu Logo
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
zou/__init__.py,sha256=
|
|
1
|
+
zou/__init__.py,sha256=UqE6NTTLYFAIm4eEbzfIb6fa4GOIKkSgT4bob7C4OsQ,24
|
|
2
2
|
zou/cli.py,sha256=2cDkbEOqp_m9hzBQf5wpxc_h0WjoH8KtxQQMNuREYlc,18201
|
|
3
3
|
zou/debug.py,sha256=1fawPbkD4wn0Y9Gk0BiBFSa-CQe5agFi8R9uJYl2Uyk,520
|
|
4
4
|
zou/event_stream.py,sha256=zgob2dZKray2lxPa11hdRNmOg8XRlKDdRcGdF80ylwg,8245
|
|
@@ -40,7 +40,7 @@ zou/app/blueprints/crud/metadata_descriptor.py,sha256=6sNsebjbXnUnlflG4biB0M-C2n
|
|
|
40
40
|
zou/app/blueprints/crud/milestone.py,sha256=UIMsyCNS7ZRePjo08yyzubLEo6fcK-RAsVvrfjXoclA,839
|
|
41
41
|
zou/app/blueprints/crud/news.py,sha256=0baKn4OLEVY7ljWgpJEypo2Pgzhlp8GJxjim78oqLtg,344
|
|
42
42
|
zou/app/blueprints/crud/notification.py,sha256=A-KNH0IDNCXlE4AddNxvmsD_7a9HqHGo_rI-Z_pdzus,530
|
|
43
|
-
zou/app/blueprints/crud/organisation.py,sha256=
|
|
43
|
+
zou/app/blueprints/crud/organisation.py,sha256=bNGo3Dtir2o_cHk0vDPs4cJw7mRWlSwPf2oA4lDQUyU,859
|
|
44
44
|
zou/app/blueprints/crud/output_file.py,sha256=jWSagq4LxwtFQH0XL_LjXaiW9FRn8T4k0tv1EbmPfg0,3954
|
|
45
45
|
zou/app/blueprints/crud/output_type.py,sha256=eYJXLPkUCRj9-v5mc3rxqEHM3yycmf6rVAoaOfbnAcU,1998
|
|
46
46
|
zou/app/blueprints/crud/person.py,sha256=7masu1UxnSJT7KZ4zVUvUA7B2_zdY8ZtcEtqEiSIEfc,9201
|
|
@@ -91,7 +91,7 @@ zou/app/blueprints/persons/resources.py,sha256=-5J8ZswusYEBTNmX4I7fLFDZVMKyO0qhO
|
|
|
91
91
|
zou/app/blueprints/playlists/__init__.py,sha256=vuEk1F3hFHsmuKWhdepMoLyOzmNKDn1YrjjfcaIz0lQ,1596
|
|
92
92
|
zou/app/blueprints/playlists/resources.py,sha256=alRlMHypUFErXLsEYxpFK84cdjFJ3YWwamZtW0KcwLY,17211
|
|
93
93
|
zou/app/blueprints/previews/__init__.py,sha256=qGohO6LRNZKXBAegINcUXuZlrtxobJKQg84-rQ1L3AU,4202
|
|
94
|
-
zou/app/blueprints/previews/resources.py,sha256=
|
|
94
|
+
zou/app/blueprints/previews/resources.py,sha256=SrbAcsHizZZiWOjnDGurYmuQlxkj1KDyXKE85x_Wz5M,47062
|
|
95
95
|
zou/app/blueprints/projects/__init__.py,sha256=Pn3fA5bpNFEPBzxTKJ2foV6osZFflXXSM2l2uZh3ktM,3927
|
|
96
96
|
zou/app/blueprints/projects/resources.py,sha256=v9_TLh3mujL-p7QcGkfSOJnNojzoJA15jhqAHz5kEIc,31552
|
|
97
97
|
zou/app/blueprints/search/__init__.py,sha256=QCjQIY_85l_orhdEiqav_GifjReuwsjZggN3V0GeUVY,356
|
|
@@ -156,7 +156,7 @@ zou/app/models/metadata_descriptor.py,sha256=LRCJ7NKsy771kMSLeZDrCON7jRk76J-JTFW
|
|
|
156
156
|
zou/app/models/milestone.py,sha256=ZwJ7_PbXT_LeUZKv3l5DLPM7ByFQEccpEeWFq4-IM-Q,927
|
|
157
157
|
zou/app/models/news.py,sha256=UPX0ojWF-leAGZNKqlo7KL0s0lp2tbKMJl4N5lGbouo,1583
|
|
158
158
|
zou/app/models/notification.py,sha256=1ODOymGPeB4oxgX_3WhOgIL_Lsz-JR7miDkBS6W8t_s,2563
|
|
159
|
-
zou/app/models/organisation.py,sha256=
|
|
159
|
+
zou/app/models/organisation.py,sha256=3nUJq9TBJsBs1t3h4OHFBUrvn_FGOnBsiofcdH3tdzk,1587
|
|
160
160
|
zou/app/models/output_file.py,sha256=hyLGrpsgrk0aisDXppRQrB7ItCwyuyw-X0ZwVAHabsA,2569
|
|
161
161
|
zou/app/models/output_type.py,sha256=us_lCUCEvuP4vi_XmmOcEl1J2MtZhMX5ZheBqEFCgWA,381
|
|
162
162
|
zou/app/models/person.py,sha256=-JpYBpzqZ3LDD6HW1YgjrD7szhWSxQ0ti4GrrGvja2w,7466
|
|
@@ -407,9 +407,9 @@ zou/remote/normalize_movie.py,sha256=zNfEY3N1UbAHZfddGONTg2Sff3ieLVWd4dfZa1dpnes
|
|
|
407
407
|
zou/remote/playlist.py,sha256=AsDo0bgYhDcd6DfNRV6r6Jj3URWwavE2ZN3VkKRPbLU,3293
|
|
408
408
|
zou/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
409
409
|
zou/utils/movie.py,sha256=u9LCEOvmkxwm-KiZ6jKNdB9LSC6XXUDwJpVx8LkDwJg,16416
|
|
410
|
-
zou-0.19.
|
|
411
|
-
zou-0.19.
|
|
412
|
-
zou-0.19.
|
|
413
|
-
zou-0.19.
|
|
414
|
-
zou-0.19.
|
|
415
|
-
zou-0.19.
|
|
410
|
+
zou-0.19.48.dist-info/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
|
|
411
|
+
zou-0.19.48.dist-info/METADATA,sha256=f9e2kAoECSKBCRjpIPUVerRJK6wmTEqlwXGYCVhEbIo,6725
|
|
412
|
+
zou-0.19.48.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
|
413
|
+
zou-0.19.48.dist-info/entry_points.txt,sha256=PelQoIx3qhQ_Tmne7wrLY-1m2izuzgpwokoURwSohy4,130
|
|
414
|
+
zou-0.19.48.dist-info/top_level.txt,sha256=4S7G_jk4MzpToeDItHGjPhHx_fRdX52zJZWTD4SL54g,4
|
|
415
|
+
zou-0.19.48.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|