fusion-platform-python-sdk 2.2.1__tar.gz → 2.2.3__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 (57) hide show
  1. {fusion_platform_python_sdk-2.2.1/fusion_platform_python_sdk.egg-info → fusion_platform_python_sdk-2.2.3}/PKG-INFO +3 -3
  2. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/README.md +2 -2
  3. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/__init__.py +2 -2
  4. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/fusion_platform_sdk.pdf +0 -0
  5. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/process.py +6 -6
  6. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/translations.py +4 -3
  7. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3/fusion_platform_python_sdk.egg-info}/PKG-INFO +3 -3
  8. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/setup.py +1 -1
  9. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/LICENSE.txt +0 -0
  10. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/MANIFEST.in +0 -0
  11. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/__main__.py +0 -0
  12. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/base.py +0 -0
  13. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/command.py +0 -0
  14. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/common/__init__.py +0 -0
  15. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/common/raise_thread.py +0 -0
  16. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/common/utilities.py +0 -0
  17. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/detailed_example.py +0 -0
  18. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/documentation.py +0 -0
  19. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/glasgow.geojson +0 -0
  20. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/lake_district.geojson +0 -0
  21. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/localisations.py +0 -0
  22. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/localise.py +0 -0
  23. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/__init__.py +0 -0
  24. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/credit.md +0 -0
  25. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/credit.py +0 -0
  26. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/data.md +0 -0
  27. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/data.py +0 -0
  28. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/data_file.md +0 -0
  29. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/data_file.py +0 -0
  30. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/fields.py +0 -0
  31. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/model.py +0 -0
  32. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/organisation.md +0 -0
  33. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/organisation.py +0 -0
  34. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/process.md +0 -0
  35. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/process_execution.md +0 -0
  36. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/process_execution.py +0 -0
  37. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/process_service_execution.md +0 -0
  38. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/process_service_execution.py +0 -0
  39. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/process_service_execution_log.md +0 -0
  40. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/process_service_execution_log.py +0 -0
  41. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/service.md +0 -0
  42. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/service.py +0 -0
  43. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/user.md +0 -0
  44. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/models/user.py +0 -0
  45. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/quick_example.py +0 -0
  46. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform/session.py +0 -0
  47. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform_python_sdk.egg-info/SOURCES.txt +0 -0
  48. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform_python_sdk.egg-info/dependency_links.txt +0 -0
  49. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform_python_sdk.egg-info/entry_points.txt +0 -0
  50. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform_python_sdk.egg-info/requires.txt +0 -0
  51. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/fusion_platform_python_sdk.egg-info/top_level.txt +0 -0
  52. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/setup.cfg +0 -0
  53. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/tests/test_base.py +0 -0
  54. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/tests/test_command.py +0 -0
  55. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/tests/test_init.py +0 -0
  56. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/tests/test_localise.py +0 -0
  57. {fusion_platform_python_sdk-2.2.1 → fusion_platform_python_sdk-2.2.3}/tests/test_session.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fusion-platform-python-sdk
3
- Version: 2.2.1
3
+ Version: 2.2.3
4
4
  Summary: Python SDK used to interact with the Fusion Platform(r)
5
5
  Home-page: https://github.com/d-cat-support/fusion-platform-python-sdk
6
6
  Author: Digital Content Analysis Technology Ltd
@@ -49,8 +49,8 @@ API, and this is defined within the corresponding OpenAPI 3.0 specification, whi
49
49
 
50
50
  ## Installation
51
51
 
52
- The SDK has been built for Python 3, and is tested against Python 3.9, 3.10, 3.11, 3.12 and 3.13. To install the SDK into a suitable Python environment containing
53
- `pip`, execute the following:
52
+ The SDK has been built for Python 3, and is tested against Python 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14. To install the SDK into a suitable Python environment
53
+ containing `pip`, execute the following:
54
54
 
55
55
  ```shell
56
56
  pip install fusion-platform-python-sdk
@@ -12,8 +12,8 @@ API, and this is defined within the corresponding OpenAPI 3.0 specification, whi
12
12
 
13
13
  ## Installation
14
14
 
15
- The SDK has been built for Python 3, and is tested against Python 3.9, 3.10, 3.11, 3.12 and 3.13. To install the SDK into a suitable Python environment containing
16
- `pip`, execute the following:
15
+ The SDK has been built for Python 3, and is tested against Python 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14. To install the SDK into a suitable Python environment
16
+ containing `pip`, execute the following:
17
17
 
18
18
  ```shell
19
19
  pip install fusion-platform-python-sdk
@@ -11,8 +11,8 @@ API, and this is defined within the corresponding OpenAPI 3.0 specification, whi
11
11
  """
12
12
 
13
13
  # Do not modify the following two lines as they are maintained by the version.sh script.
14
- __version__ = '2.2.1'
15
- __version_date__ = '2026-03-17T07:52:10Z'
14
+ __version__ = '2.2.3'
15
+ __version_date__ = '2026-06-09T08:34:54Z'
16
16
 
17
17
  # Exclude certain sub-modules from documentation.
18
18
  # @formatter:off
@@ -588,7 +588,7 @@ class Process(Model):
588
588
  break
589
589
 
590
590
  if found_dispatcher is None:
591
- raise ModelError(i18n.t('models.process.cannot_find_dispatcher'))
591
+ raise ModelError(i18n.t('models.process.cannot_find_dispatcher', dispatcher=name if name is not None else number))
592
592
 
593
593
  # Add the dispatcher to the end of the existing list.
594
594
  dispatchers = list(self._model.get(self.__class__._FIELD_DISPATCHERS, [])) # Convert read-only tuple to list, so we can modify it.
@@ -850,7 +850,7 @@ class Process(Model):
850
850
  break
851
851
 
852
852
  if found_dispatcher is None:
853
- raise ModelError(i18n.t('models.process.cannot_find_dispatcher'))
853
+ raise ModelError(i18n.t('models.process.cannot_find_dispatcher', dispatcher=number))
854
854
 
855
855
  # Remove the dispatcher from the existing list.
856
856
  dispatchers = list(self._model.get(self.__class__._FIELD_DISPATCHERS, [])) # Convert read-only tuple to list, so we can modify it.
@@ -899,7 +899,7 @@ class Process(Model):
899
899
  break
900
900
 
901
901
  if found_dispatcher is None:
902
- raise ModelError(i18n.t('models.process.cannot_find_dispatcher'))
902
+ raise ModelError(i18n.t('models.process.cannot_find_dispatcher', dispatcher=number))
903
903
 
904
904
  # Get the dispatcher so that it can be modified.
905
905
  dispatchers = list(self._model.get(self.__class__._FIELD_DISPATCHERS, [])) # Convert read-only tuple to list, so we can access it.
@@ -921,7 +921,7 @@ class Process(Model):
921
921
  break
922
922
 
923
923
  if found_option is None:
924
- raise ModelError(i18n.t('models.process.cannot_find_option'))
924
+ raise ModelError(i18n.t('models.process.cannot_find_dispatcher_option', option=option_name))
925
925
 
926
926
  # We can now update the option. All options are expressed as strings with the correct format.
927
927
  option_value = Option.get_option_value(found_option, value, coerce_value)
@@ -981,7 +981,7 @@ class Process(Model):
981
981
  break
982
982
 
983
983
  if found_input is None:
984
- raise ModelError(i18n.t('models.process.cannot_find_input'))
984
+ raise ModelError(i18n.t('models.process.cannot_find_input', input=input.input if input is not None else number))
985
985
 
986
986
  # Check that all the files in the data object are ready to be used. Along the way, pick out the first file type.
987
987
  found_file_type = None
@@ -1041,7 +1041,7 @@ class Process(Model):
1041
1041
  break
1042
1042
 
1043
1043
  if found_option is None:
1044
- raise ModelError(i18n.t('models.process.cannot_find_option'))
1044
+ raise ModelError(i18n.t('models.process.cannot_find_option', option=option.name if option is not None else name))
1045
1045
 
1046
1046
  # We can now update the option. All options are expressed as strings with the correct format.
1047
1047
  option_value = Option.get_option_value(found_option, value, coerce_value)
@@ -306,9 +306,10 @@ i18n.add_translation('models.process.execution_stopped', 'Process execution has
306
306
  i18n.add_translation('models.process.wrong_file_type', 'File type of supplied data object (%{actual}) does not match the file type for the input (%{expected})', 'en')
307
307
  i18n.add_translation('models.process.data_not_ready', 'Data object is not ready to be used in a process', 'en')
308
308
  i18n.add_translation('models.process.option_wrong_type', 'Option value should be of type %{type}', 'en')
309
- i18n.add_translation('models.process.cannot_find_option', 'No such option', 'en')
310
- i18n.add_translation('models.process.cannot_find_input', 'No such input', 'en')
311
- i18n.add_translation('models.process.cannot_find_dispatcher', 'No such dispatcher', 'en')
309
+ i18n.add_translation('models.process.cannot_find_dispatcher_option', 'No such dispatcher option \'%{option}\'', 'en')
310
+ i18n.add_translation('models.process.cannot_find_option', 'No such option \'%{option}\'', 'en')
311
+ i18n.add_translation('models.process.cannot_find_input', 'No such input %{input}', 'en')
312
+ i18n.add_translation('models.process.cannot_find_dispatcher', 'No such dispatcher \'%{dispatcher}\'', 'en')
312
313
  i18n.add_translation('models.process.option_not_specified', 'Option name or object must be provided to set option', 'en')
313
314
  i18n.add_translation('models.process.data_not_specified', 'Data object must be provided to set input', 'en')
314
315
  i18n.add_translation('models.process.input_not_specified', 'Input number or object must be provided to set input', 'en')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fusion-platform-python-sdk
3
- Version: 2.2.1
3
+ Version: 2.2.3
4
4
  Summary: Python SDK used to interact with the Fusion Platform(r)
5
5
  Home-page: https://github.com/d-cat-support/fusion-platform-python-sdk
6
6
  Author: Digital Content Analysis Technology Ltd
@@ -49,8 +49,8 @@ API, and this is defined within the corresponding OpenAPI 3.0 specification, whi
49
49
 
50
50
  ## Installation
51
51
 
52
- The SDK has been built for Python 3, and is tested against Python 3.9, 3.10, 3.11, 3.12 and 3.13. To install the SDK into a suitable Python environment containing
53
- `pip`, execute the following:
52
+ The SDK has been built for Python 3, and is tested against Python 3.9, 3.10, 3.11, 3.12, 3.13 and 3.14. To install the SDK into a suitable Python environment
53
+ containing `pip`, execute the following:
54
54
 
55
55
  ```shell
56
56
  pip install fusion-platform-python-sdk
@@ -19,7 +19,7 @@ PACKAGE_DIR = pathlib.Path(__file__).parent
19
19
  # @formatter:off
20
20
  setup(
21
21
  name='fusion-platform-python-sdk',
22
- version='2.2.1',
22
+ version='2.2.3',
23
23
  description='Python SDK used to interact with the Fusion Platform(r)',
24
24
  long_description=(PACKAGE_DIR / 'README.md').read_text(),
25
25
  long_description_content_type='text/markdown',