wizata-dsapi 2.1.0.dev7__tar.gz → 2.1.0.dev9__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 (66) hide show
  1. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/PKG-INFO +1 -1
  2. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/context.py +7 -0
  3. wizata_dsapi-2.1.0.dev9/wizata_dsapi/version.py +1 -0
  4. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/wizata_dsapi_client.py +13 -5
  5. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi.egg-info/PKG-INFO +1 -1
  6. wizata_dsapi-2.1.0.dev7/wizata_dsapi/version.py +0 -1
  7. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/LICENSE.txt +0 -0
  8. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/README.rst +0 -0
  9. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/setup.cfg +0 -0
  10. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/setup.py +0 -0
  11. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/__init__.py +0 -0
  12. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/api_config.py +0 -0
  13. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/api_dto.py +0 -0
  14. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/api_interface.py +0 -0
  15. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/bucket.py +0 -0
  16. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/business_label.py +0 -0
  17. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/dashboard.py +0 -0
  18. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/dataframe_toolkit.py +0 -0
  19. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/datapoint.py +0 -0
  20. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/datastore.py +0 -0
  21. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/ds_dataframe.py +0 -0
  22. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/dsapi_json_encoder.py +0 -0
  23. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/edge_config.py +0 -0
  24. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/edge_device.py +0 -0
  25. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/edge_module.py +0 -0
  26. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/evaluation.py +0 -0
  27. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/execution.py +0 -0
  28. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/execution_log.py +0 -0
  29. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/experiment.py +0 -0
  30. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/graylog_log.py +0 -0
  31. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/group_system.py +0 -0
  32. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/ilogger.py +0 -0
  33. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/insight.py +0 -0
  34. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/mlmodel.py +0 -0
  35. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/mobile_asset.py +0 -0
  36. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/model_toolkit.py +0 -0
  37. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/models/__init__.py +0 -0
  38. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/models/common.py +0 -0
  39. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/notification.py +0 -0
  40. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/paged_query_result.py +0 -0
  41. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/pipeline.py +0 -0
  42. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/pipeline_image.py +0 -0
  43. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/plot.py +0 -0
  44. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/plots/__init__.py +0 -0
  45. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/plots/common.py +0 -0
  46. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/plots/theme.py +0 -0
  47. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/request.py +0 -0
  48. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/script.py +0 -0
  49. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/scripts/__init__.py +0 -0
  50. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/scripts/common.py +0 -0
  51. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/search.py +0 -0
  52. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/solution_component.py +0 -0
  53. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/streamlit_utils.py +0 -0
  54. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/template.py +0 -0
  55. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/template_config.py +0 -0
  56. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/trigger.py +0 -0
  57. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/twin.py +0 -0
  58. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/twinregistration.py +0 -0
  59. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/user.py +0 -0
  60. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/wizard_function.py +0 -0
  61. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/wizard_request.py +0 -0
  62. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi/words.py +0 -0
  63. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
  64. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
  65. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi.egg-info/requires.txt +0 -0
  66. {wizata_dsapi-2.1.0.dev7 → wizata_dsapi-2.1.0.dev9}/wizata_dsapi.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wizata_dsapi
3
- Version: 2.1.0.dev7
3
+ Version: 2.1.0.dev9
4
4
  Summary: Wizata Data Science Toolkit
5
5
  Author: Wizata S.A.
6
6
  Author-email: info@wizata.com
@@ -68,6 +68,13 @@ class Context(ILogger):
68
68
  self.pipeline_id = pipeline_id
69
69
  self.execution_id = execution_id
70
70
  self.experiment_id = experiment_id
71
+ # Git ref the pipeline body was loaded at (DEV-5895): sha is the exact
72
+ # commit that ran (stamped on the ExecutionLog, DEV-5950), branch is the
73
+ # targeted branch when any. RAW-script resolution reads scripts/<name>.py
74
+ # from git at this sha so a branch run executes the branch's script
75
+ # version — not the Postgres "current" one. Left None off the git path.
76
+ self.branch = None
77
+ self.sha = None
71
78
  self.template = template
72
79
  self.registration = registration
73
80
  self.now = now
@@ -0,0 +1 @@
1
+ __version__ = "2.1.0.dev9"
@@ -929,6 +929,7 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
929
929
  twin=None,
930
930
  mode: str = 'experiment',
931
931
  version: str = None,
932
+ branch: str = None,
932
933
  ) -> ExecutionLog:
933
934
  """
934
935
  wrapper to execute a pipeline, used by other functions.
@@ -941,7 +942,8 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
941
942
  pipeline=pipeline,
942
943
  twin=twin,
943
944
  pipeline_image_id=image,
944
- version=version
945
+ version=version,
946
+ branch=branch
945
947
  )
946
948
 
947
949
  if isinstance(execution_log, ExecutionLog):
@@ -968,7 +970,8 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
968
970
  train: bool = True,
969
971
  plot: bool = True,
970
972
  write: bool = False,
971
- version: str = None) -> ExecutionLog:
973
+ version: str = None,
974
+ branch: str = None) -> ExecutionLog:
972
975
  """
973
976
  experiment and train models with a pipeline.
974
977
 
@@ -988,6 +991,7 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
988
991
  :param plot: if False plot steps are ignored.
989
992
  :param write: if False write steps are ignored.
990
993
  :param version: version to use, by default use your python environment version.
994
+ :param branch: git branch to run against (git mode); default branch when omitted.
991
995
  """
992
996
  if not train or not plot or write:
993
997
  if properties is None:
@@ -1005,7 +1009,8 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
1005
1009
  image=image,
1006
1010
  properties=properties,
1007
1011
  mode='experiment',
1008
- version=version
1012
+ version=version,
1013
+ branch=branch
1009
1014
  )
1010
1015
 
1011
1016
  def run(self,
@@ -1015,7 +1020,8 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
1015
1020
  train: bool = False,
1016
1021
  plot: bool = False,
1017
1022
  write: bool = True,
1018
- version: str = None) -> ExecutionLog:
1023
+ version: str = None,
1024
+ branch: str = None) -> ExecutionLog:
1019
1025
  """
1020
1026
  run a pipeline.
1021
1027
 
@@ -1035,6 +1041,7 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
1035
1041
  :param plot: if False plot steps are ignored.
1036
1042
  :param write: if False write steps are ignored.
1037
1043
  :param version: version of python environment to use if different than local environment.
1044
+ :param branch: git branch to run against (git mode); default branch when omitted.
1038
1045
  """
1039
1046
 
1040
1047
  if train or plot or not write:
@@ -1052,7 +1059,8 @@ class WizataDSAPIClient(ApiInterface, ApiDtoInterface):
1052
1059
  properties=properties,
1053
1060
  image=image,
1054
1061
  mode='production',
1055
- version=version
1062
+ version=version,
1063
+ branch=branch
1056
1064
  )
1057
1065
 
1058
1066
  def await_execution(self,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wizata_dsapi
3
- Version: 2.1.0.dev7
3
+ Version: 2.1.0.dev9
4
4
  Summary: Wizata Data Science Toolkit
5
5
  Author: Wizata S.A.
6
6
  Author-email: info@wizata.com
@@ -1 +0,0 @@
1
- __version__ = "2.1.0.dev7"