tiferet 1.0.0a15__tar.gz → 1.0.0a17__tar.gz

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.
Files changed (39) hide show
  1. {tiferet-1.0.0a15/tiferet.egg-info → tiferet-1.0.0a17}/PKG-INFO +1 -1
  2. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/setup.py +1 -1
  3. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/contexts/app.py +5 -1
  4. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/contexts/error.py +1 -0
  5. {tiferet-1.0.0a15 → tiferet-1.0.0a17/tiferet.egg-info}/PKG-INFO +1 -1
  6. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/LICENSE +0 -0
  7. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/setup.cfg +0 -0
  8. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/__init__.py +0 -0
  9. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/clients/__init__.py +0 -0
  10. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/clients/yaml.py +0 -0
  11. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/commands/__init__.py +0 -0
  12. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/commands/container.py +0 -0
  13. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/commands/error.py +0 -0
  14. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/commands/feature.py +0 -0
  15. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/configs/__init__.py +0 -0
  16. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/contexts/__init__.py +0 -0
  17. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/contexts/container.py +0 -0
  18. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/contexts/feature.py +0 -0
  19. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/contexts/request.py +0 -0
  20. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/data/__init__.py +0 -0
  21. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/data/app.py +0 -0
  22. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/data/container.py +0 -0
  23. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/data/error.py +0 -0
  24. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/data/feature.py +0 -0
  25. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/domain/__init__.py +0 -0
  26. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/domain/app.py +0 -0
  27. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/domain/container.py +0 -0
  28. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/domain/core.py +0 -0
  29. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/domain/error.py +0 -0
  30. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/domain/feature.py +0 -0
  31. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/repos/__init__.py +0 -0
  32. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/repos/app.py +0 -0
  33. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/repos/container.py +0 -0
  34. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/repos/error.py +0 -0
  35. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet/repos/feature.py +0 -0
  36. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet.egg-info/SOURCES.txt +0 -0
  37. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet.egg-info/dependency_links.txt +0 -0
  38. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet.egg-info/requires.txt +0 -0
  39. {tiferet-1.0.0a15 → tiferet-1.0.0a17}/tiferet.egg-info/top_level.txt +0 -0
@@ -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
@@ -9,7 +9,7 @@ config = {
9
9
  'url': r'https://github.com/greatstrength/app',
10
10
  'download_url': r'https://github.com/greatstrength/app',
11
11
  'author_email': 'andrew@greatstrength.me',
12
- 'version': '1.0.0-alpha.15',
12
+ 'version': '1.0.0-alpha.17',
13
13
  'license': 'BSD 3',
14
14
  'install_requires': [
15
15
  'schematics>=2.1.1',
@@ -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
  )
@@ -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
File without changes
File without changes