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.
- {mmif-python-1.0.11/mmif_python.egg-info → mmif-python-1.0.12}/PKG-INFO +1 -1
- mmif-python-1.0.12/VERSION +1 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/view.py +3 -3
- mmif-python-1.0.12/mmif/ver/__init__.py +2 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12/mmif_python.egg-info}/PKG-INFO +1 -1
- mmif-python-1.0.11/VERSION +0 -1
- mmif-python-1.0.11/mmif/ver/__init__.py +0 -2
- {mmif-python-1.0.11 → mmif-python-1.0.12}/LICENSE +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/MANIFEST.in +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/README.md +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/__init__.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/res/__init__.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/res/clams.vocabulary.yaml +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/res/do-not-edit.txt +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/res/mmif.json +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/__init__.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/annotation.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/mmif.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/serialize/model.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/utils/__init__.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/utils/sequence_helper.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/utils/timeunit_helper.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/utils/video_document_helper.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/ver/do-not-edit.txt +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/__init__.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/annotation_types.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/base_types.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/do-not-edit.txt +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif/vocabulary/document_types.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_docloc_http/__init__.py +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_python.egg-info/SOURCES.txt +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_python.egg-info/dependency_links.txt +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_python.egg-info/requires.txt +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/mmif_python.egg-info/top_level.txt +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/requirements.cv +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/requirements.seq +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/requirements.txt +0 -0
- {mmif-python-1.0.11 → mmif-python-1.0.12}/setup.cfg +0 -0
- {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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mmif-python
|
|
3
|
-
Version: 1.0.
|
|
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
|
mmif-python-1.0.11/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.11
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|