wizata-dsapi 2.2.0.dev25__tar.gz → 2.2.0.dev26__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.
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/PKG-INFO +1 -1
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/python_package.py +18 -2
- wizata_dsapi-2.2.0.dev26/wizata_dsapi/version.py +1 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi.egg-info/PKG-INFO +1 -1
- wizata_dsapi-2.2.0.dev25/wizata_dsapi/version.py +0 -1
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/LICENSE.txt +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/README.rst +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/setup.cfg +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/setup.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/__init__.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/api_config.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/api_dto.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/api_interface.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/bucket.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/business_label.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/connection.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/connection_discovery.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/connection_policy.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/connection_types.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/context.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/dashboard.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/dataframe_toolkit.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/datapoint.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/datastore.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/deployment.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/ds_dataframe.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/dsapi_json_encoder.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/edge_config.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/edge_device.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/edge_module.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/edge_package.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/evaluation.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/execution.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/execution_log.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/experiment.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/formula.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/graylog_log.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/group_system.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/ilogger.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/insight.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/inventory.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/mlmodel.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/mobile_asset.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/model_toolkit.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/models/__init__.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/models/common.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/notification.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/paged_query_result.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/pipeline.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/pipeline_image.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/plot.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/plots/__init__.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/plots/common.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/plots/theme.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/product.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/request.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/script.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/scripts/__init__.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/scripts/common.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/search.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/solution_component.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/streamlit_utils.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/template.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/template_config.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/trigger.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/twin.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/twinregistration.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/user.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/wizard_function.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/wizard_request.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/wizata_dsapi_client.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi/words.py +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi.egg-info/requires.txt +0 -0
- {wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi.egg-info/top_level.txt +0 -0
|
@@ -77,6 +77,8 @@ class PythonPackageVersion:
|
|
|
77
77
|
:ivar str requires_python: the wheel's ``Requires-Python``.
|
|
78
78
|
:ivar str uploaded_by: the user who uploaded it.
|
|
79
79
|
:ivar datetime uploaded_at: when it was uploaded.
|
|
80
|
+
:ivar list used_by: keys of the stored pipelines that pin this version (filled on a
|
|
81
|
+
package read that asks for it; None when not read or not known).
|
|
80
82
|
"""
|
|
81
83
|
|
|
82
84
|
def __init__(self, name: str = None, version: str = None, filename: str = None,
|
|
@@ -91,6 +93,7 @@ class PythonPackageVersion:
|
|
|
91
93
|
self.requires_python: Optional[str] = requires_python
|
|
92
94
|
self.uploaded_by: Optional[str] = None
|
|
93
95
|
self.uploaded_at: Optional[datetime] = None
|
|
96
|
+
self.used_by: Optional[List[str]] = None
|
|
94
97
|
|
|
95
98
|
def api_id(self) -> str:
|
|
96
99
|
return f"{self.name}=={self.version}"
|
|
@@ -102,7 +105,7 @@ class PythonPackageVersion:
|
|
|
102
105
|
("size", self.size), ("requiresDist", self.requires_dist),
|
|
103
106
|
("requiresPython", self.requires_python),
|
|
104
107
|
("uploadedBy", self.uploaded_by),
|
|
105
|
-
("uploadedAt", _ts_out(self.uploaded_at))):
|
|
108
|
+
("uploadedAt", _ts_out(self.uploaded_at)), ("usedBy", self.used_by)):
|
|
106
109
|
if value is not None:
|
|
107
110
|
obj[key] = value
|
|
108
111
|
return obj
|
|
@@ -116,6 +119,7 @@ class PythonPackageVersion:
|
|
|
116
119
|
requires_python=_first(data, "requiresPython", "requires_python"))
|
|
117
120
|
obj.uploaded_by = _first(data, "uploadedBy", "uploaded_by")
|
|
118
121
|
obj.uploaded_at = _ts_in(_first(data, "uploadedAt", "uploaded_at"))
|
|
122
|
+
obj.used_by = _first(data, "usedBy", "used_by")
|
|
119
123
|
return obj
|
|
120
124
|
|
|
121
125
|
def __repr__(self) -> str:
|
|
@@ -136,6 +140,10 @@ class PythonPackage:
|
|
|
136
140
|
:ivar str problem: why it cannot be used, when it cannot (a git folder that does not
|
|
137
141
|
compile, a name clash with the repository); set by the platform.
|
|
138
142
|
:ivar list versions: its uploaded versions, newest first (filled on read only).
|
|
143
|
+
:ivar list used_by: keys of the stored pipelines that import it (filled on a package read
|
|
144
|
+
that asks for it; None when not read or not known).
|
|
145
|
+
:ivar str latest_version: its highest version (filled on search rows).
|
|
146
|
+
:ivar int version_count: how many versions it has (filled on search rows; 0 for a git one).
|
|
139
147
|
"""
|
|
140
148
|
|
|
141
149
|
@classmethod
|
|
@@ -153,6 +161,9 @@ class PythonPackage:
|
|
|
153
161
|
self.updated_at: Optional[datetime] = None
|
|
154
162
|
self.problem: Optional[str] = None
|
|
155
163
|
self.versions: Optional[List[PythonPackageVersion]] = None
|
|
164
|
+
self.used_by: Optional[List[str]] = None
|
|
165
|
+
self.latest_version: Optional[str] = None
|
|
166
|
+
self.version_count: Optional[int] = None
|
|
156
167
|
|
|
157
168
|
def api_id(self) -> str:
|
|
158
169
|
return self.name
|
|
@@ -167,7 +178,9 @@ class PythonPackage:
|
|
|
167
178
|
else self.import_names
|
|
168
179
|
for key, value in (("description", self.description), ("createdBy", self.created_by),
|
|
169
180
|
("createdAt", _ts_out(self.created_at)),
|
|
170
|
-
("updatedAt", _ts_out(self.updated_at)), ("problem", self.problem)
|
|
181
|
+
("updatedAt", _ts_out(self.updated_at)), ("problem", self.problem),
|
|
182
|
+
("usedBy", self.used_by), ("latestVersion", self.latest_version),
|
|
183
|
+
("versionCount", self.version_count)):
|
|
171
184
|
if value is not None:
|
|
172
185
|
obj[key] = value
|
|
173
186
|
if self.versions is not None:
|
|
@@ -185,6 +198,9 @@ class PythonPackage:
|
|
|
185
198
|
obj.created_at = _ts_in(_first(data, "createdAt", "created_at"))
|
|
186
199
|
obj.updated_at = _ts_in(_first(data, "updatedAt", "updated_at"))
|
|
187
200
|
obj.problem = data.get("problem")
|
|
201
|
+
obj.used_by = _first(data, "usedBy", "used_by")
|
|
202
|
+
obj.latest_version = _first(data, "latestVersion", "latest_version")
|
|
203
|
+
obj.version_count = _first(data, "versionCount", "version_count")
|
|
188
204
|
if data.get("versions") is not None:
|
|
189
205
|
obj.versions = [PythonPackageVersion.from_dict(v) for v in data["versions"]]
|
|
190
206
|
return obj
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.0.dev26"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.2.0.dev25"
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wizata_dsapi-2.2.0.dev25 → wizata_dsapi-2.2.0.dev26}/wizata_dsapi.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|