tiferet 1.0.0a15__py3-none-any.whl → 1.0.0a17__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.
tiferet/contexts/app.py CHANGED
@@ -133,6 +133,9 @@ class AppContext(Model):
133
133
  :rtype: Any
134
134
  '''
135
135
 
136
+ # Retrieve the app context dependency.
137
+ app_context = app_interface.get_dependency('app_context')
138
+
136
139
  # Get the dependencies for the app interface.
137
140
  dependencies = dict(
138
141
  interface_id=app_interface.id,
@@ -140,7 +143,8 @@ class AppContext(Model):
140
143
  feature_flag=app_interface.feature_flag,
141
144
  data_flag=app_interface.data_flag,
142
145
  app_context=import_dependency(
143
- **app_interface.get_dependency('app_context').to_primitive()
146
+ app_context.module_path,
147
+ app_context.class_name,
144
148
  ),
145
149
  **app_interface.constants
146
150
  )
tiferet/contexts/error.py CHANGED
@@ -113,6 +113,7 @@ class ErrorContext(Model):
113
113
  # Set error response.
114
114
  error_response = dict(
115
115
  message=error.format(lang, *error_data if error_data else []),
116
+ error_code=error.error_code,
116
117
  **kwargs
117
118
  )
118
119
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tiferet
3
- Version: 1.0.0a15
3
+ Version: 1.0.0a17
4
4
  Summary: A multi-purpose application framework embodying beauty in form.
5
5
  Home-page: https://github.com/greatstrength/app
6
6
  Download-URL: https://github.com/greatstrength/app
@@ -7,9 +7,9 @@ tiferet/commands/error.py,sha256=ixMYH0yrEWlMAVGDSRke3IGoWaOShfmiXntrUC2b3wY,573
7
7
  tiferet/commands/feature.py,sha256=tXa-MDf14ByIJqwQFeSUu2QLUjHPdsyvFNhj1XeaQVk,2507
8
8
  tiferet/configs/__init__.py,sha256=NfT6XFNcJznOLXjMuNmj3XeaOPVWwbc-N4kVWaVjuD0,845
9
9
  tiferet/contexts/__init__.py,sha256=PvTgdVMav7B4pbKV4vxfNTMSod88DKGSR_0W8reIyC4,235
10
- tiferet/contexts/app.py,sha256=90DAr0K09UzWbblarzP3Jw7lhADb2wjkaTFSIFJ8OnQ,8187
10
+ tiferet/contexts/app.py,sha256=_GiawlFowEbnVvBw6XgUlLjgLu2CwlHuK4ldT_v6a1c,8305
11
11
  tiferet/contexts/container.py,sha256=Wo_2HENb7XPpIcZSkEikSGh8vWmClpLgkBbSW-jMDK4,6619
12
- tiferet/contexts/error.py,sha256=Gqewmk5WqbER9umNvR9gliQNi-bmbaNyXOSG4jUZfJc,3262
12
+ tiferet/contexts/error.py,sha256=CKdGSGpb4ndP0y3SQp0RAFMPKQs_9TC-6pUo-fQYT-U,3303
13
13
  tiferet/contexts/feature.py,sha256=kVVRpIyjWa3T2QoT2R-T7clOIQEpNMYa8ZJRVxgY_6o,3730
14
14
  tiferet/contexts/request.py,sha256=EwTyXVYi8z1t1ns_0yDrjY6qICIMPn1UvZpV7ULKReY,2756
15
15
  tiferet/data/__init__.py,sha256=JKaeCw508WY15-etqdFJxPUUJxMxCAi6ASmA472D1_s,93
@@ -28,8 +28,8 @@ tiferet/repos/app.py,sha256=VxPanqWw4lGi1VoajTXN3sv9yy_XV6m_95E6DTdMHb8,2900
28
28
  tiferet/repos/container.py,sha256=n9Tz83QETdAocGAT4oKcvllEGwFp069pYqkXs2-KFFk,3519
29
29
  tiferet/repos/error.py,sha256=jDze41uioKwKEkAswkzLubVw-bxsVyeUkJwyeO5Es0E,4245
30
30
  tiferet/repos/feature.py,sha256=GxOV8XHNwz9YY3I8Wch6GaDskvkdi8l1hM9E9fCg1y0,3644
31
- tiferet-1.0.0a15.dist-info/LICENSE,sha256=e8_GutFM0sxbRlgUaeVsGvJ5uE-KvruLApOzIoHy_zU,1513
32
- tiferet-1.0.0a15.dist-info/METADATA,sha256=g7VFuy4ajCOsjyL5Vxku8WSSOaTW8AkfM5fjTPAg7fE,536
33
- tiferet-1.0.0a15.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
34
- tiferet-1.0.0a15.dist-info/top_level.txt,sha256=g19Qw0j_VxPw-fgPF1TMPwbtHjnEhNQs0fa69wJZ6IM,8
35
- tiferet-1.0.0a15.dist-info/RECORD,,
31
+ tiferet-1.0.0a17.dist-info/LICENSE,sha256=e8_GutFM0sxbRlgUaeVsGvJ5uE-KvruLApOzIoHy_zU,1513
32
+ tiferet-1.0.0a17.dist-info/METADATA,sha256=ATCeXN_ghLGp2N6Ra217AWL3tZACKx4F-5Q6ppeNNYc,536
33
+ tiferet-1.0.0a17.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
34
+ tiferet-1.0.0a17.dist-info/top_level.txt,sha256=g19Qw0j_VxPw-fgPF1TMPwbtHjnEhNQs0fa69wJZ6IM,8
35
+ tiferet-1.0.0a17.dist-info/RECORD,,