mmif-python 1.0.11__tar.gz → 1.0.12__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. {mmif-python-1.0.11/mmif_python.egg-info → mmif-python-1.0.12}/PKG-INFO +1 -1
  2. mmif-python-1.0.12/VERSION +1 -0
  3. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/view.py +3 -3
  4. mmif-python-1.0.12/mmif/ver/__init__.py +2 -0
  5. {mmif-python-1.0.11 → mmif-python-1.0.12/mmif_python.egg-info}/PKG-INFO +1 -1
  6. mmif-python-1.0.11/VERSION +0 -1
  7. mmif-python-1.0.11/mmif/ver/__init__.py +0 -2
  8. {mmif-python-1.0.11 → mmif-python-1.0.12}/LICENSE +0 -0
  9. {mmif-python-1.0.11 → mmif-python-1.0.12}/MANIFEST.in +0 -0
  10. {mmif-python-1.0.11 → mmif-python-1.0.12}/README.md +0 -0
  11. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/__init__.py +0 -0
  12. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/res/__init__.py +0 -0
  13. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/res/clams.vocabulary.yaml +0 -0
  14. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/res/do-not-edit.txt +0 -0
  15. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/res/mmif.json +0 -0
  16. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/__init__.py +0 -0
  17. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/annotation.py +0 -0
  18. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/mmif.py +0 -0
  19. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/model.py +0 -0
  20. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/utils/__init__.py +0 -0
  21. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/utils/sequence_helper.py +0 -0
  22. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/utils/timeunit_helper.py +0 -0
  23. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/utils/video_document_helper.py +0 -0
  24. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/ver/do-not-edit.txt +0 -0
  25. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/__init__.py +0 -0
  26. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/annotation_types.py +0 -0
  27. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/base_types.py +0 -0
  28. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/do-not-edit.txt +0 -0
  29. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/document_types.py +0 -0
  30. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_docloc_http/__init__.py +0 -0
  31. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_python.egg-info/SOURCES.txt +0 -0
  32. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_python.egg-info/dependency_links.txt +0 -0
  33. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_python.egg-info/requires.txt +0 -0
  34. {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_python.egg-info/top_level.txt +0 -0
  35. {mmif-python-1.0.11 → mmif-python-1.0.12}/requirements.cv +0 -0
  36. {mmif-python-1.0.11 → mmif-python-1.0.12}/requirements.seq +0 -0
  37. {mmif-python-1.0.11 → mmif-python-1.0.12}/requirements.txt +0 -0
  38. {mmif-python-1.0.11 → mmif-python-1.0.12}/setup.cfg +0 -0
  39. {mmif-python-1.0.11 → mmif-python-1.0.12}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mmif-python
3
- Version: 1.0.11
3
+ Version: 1.0.12
4
4
  Summary: Python implementation of MultiMedia Interchange Format specification. (https://mmif.clams.ai)
5
5
  Home-page: https://mmif.clams.ai
6
6
  Author: Brandeis Lab for Linguistics and Computation
@@ -0,0 +1 @@
1
+ 1.0.12
@@ -245,7 +245,7 @@ class ViewMetadata(MmifObject):
245
245
  self.app: str = ''
246
246
  self.contains: ContainsDict = ContainsDict()
247
247
  self.parameters: Dict[str, str] = {}
248
- self.app_configuration: Dict[str, Union[PRMTV_TYPES, List[PRMTV_TYPES]]] = {}
248
+ self.appConfiguration: Dict[str, Union[PRMTV_TYPES, List[PRMTV_TYPES]]] = {}
249
249
  self.error: Union[dict, ErrorDict] = {}
250
250
  self.warnings: List[str] = []
251
251
  self._required_attributes = ["app"]
@@ -291,14 +291,14 @@ class ViewMetadata(MmifObject):
291
291
  """
292
292
  Add a configuration key-value pair to the app_configuration dictionary.
293
293
  """
294
- self.app_configuration[config_key] = config_value
294
+ self.appConfiguration[config_key] = config_value
295
295
 
296
296
  def get_app_configuration(self, config_key: str) -> Union[PRMTV_TYPES, List[PRMTV_TYPES]]:
297
297
  """
298
298
  Get a configuration value from the app_configuration dictionary.
299
299
  """
300
300
  try:
301
- return self.app_configuration[config_key]
301
+ return self.appConfiguration[config_key]
302
302
  except KeyError:
303
303
  raise KeyError(f"app is not configured for \"{config_key}\" key in the view: {self.serialize()}")
304
304
 
@@ -0,0 +1,2 @@
1
+ __version__ = "1.0.12"
2
+ __specver__ = "1.0.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mmif-python
3
- Version: 1.0.11
3
+ Version: 1.0.12
4
4
  Summary: Python implementation of MultiMedia Interchange Format specification. (https://mmif.clams.ai)
5
5
  Home-page: https://mmif.clams.ai
6
6
  Author: Brandeis Lab for Linguistics and Computation
@@ -1 +0,0 @@
1
- 1.0.11
@@ -1,2 +0,0 @@
1
- __version__ = "1.0.11"
2
- __specver__ = "1.0.4"
File without changes
File without changes
File without changes
File without changes
File without changes