wizata-dsapi 2.0.0.dev13__tar.gz → 2.0.0.dev14__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.0.0.dev13/wizata_dsapi.egg-info → wizata_dsapi-2.0.0.dev14}/PKG-INFO +1 -1
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/user.py +10 -9
- wizata_dsapi-2.0.0.dev14/wizata_dsapi/version.py +1 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14/wizata_dsapi.egg-info}/PKG-INFO +1 -1
- wizata_dsapi-2.0.0.dev13/wizata_dsapi/version.py +0 -1
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/LICENSE.txt +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/README.rst +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/setup.cfg +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/setup.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/__init__.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/api_config.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/api_dto.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/api_interface.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/bucket.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/business_label.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/context.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/dashboard.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/dataframe_toolkit.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/datapoint.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/datastore.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/ds_dataframe.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/dsapi_json_encoder.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/edge_config.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/edge_device.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/edge_module.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/evaluation.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/execution.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/execution_log.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/experiment.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/graylog_log.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/group_system.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/ilogger.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/insight.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/mlmodel.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/mobile_asset.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/model_toolkit.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/models/__init__.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/models/common.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/notification.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/paged_query_result.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/pipeline.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/pipeline_image.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/plot.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/plots/__init__.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/plots/common.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/request.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/script.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/scripts/__init__.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/scripts/common.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/search.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/solution_component.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/streamlit_utils.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/template.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/trigger.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/twin.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/twinregistration.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/wizard_function.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/wizard_request.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/wizata_dsapi_client.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi/words.py +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi.egg-info/requires.txt +0 -0
- {wizata_dsapi-2.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi.egg-info/top_level.txt +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import enum
|
|
2
2
|
import uuid
|
|
3
|
+
from typing import Optional
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
class UserType(enum.Enum):
|
|
@@ -10,13 +11,13 @@ class UserType(enum.Enum):
|
|
|
10
11
|
class User:
|
|
11
12
|
|
|
12
13
|
def __init__(self):
|
|
13
|
-
self.id: uuid.UUID
|
|
14
|
-
self.ad_id: uuid.UUID
|
|
15
|
-
self.first_name: str
|
|
16
|
-
self.last_name: str
|
|
17
|
-
self.email: str
|
|
18
|
-
self.phone: str
|
|
19
|
-
self.user_type: UserType
|
|
14
|
+
self.id: Optional[uuid.UUID] = None
|
|
15
|
+
self.ad_id: Optional[uuid.UUID] = None
|
|
16
|
+
self.first_name: Optional[str] = None
|
|
17
|
+
self.last_name: Optional[str] = None
|
|
18
|
+
self.email: Optional[str] = None
|
|
19
|
+
self.phone: Optional[str] = None
|
|
20
|
+
self.user_type: Optional[UserType] = None
|
|
20
21
|
|
|
21
22
|
@classmethod
|
|
22
23
|
def from_dict(cls, data: dict) -> "User":
|
|
@@ -52,10 +53,10 @@ class User:
|
|
|
52
53
|
obj["userType"] = self.user_type.value
|
|
53
54
|
return obj
|
|
54
55
|
|
|
55
|
-
def api_id(self) -> str
|
|
56
|
+
def api_id(self) -> Optional[str]:
|
|
56
57
|
return str(self.id) if self.id else None
|
|
57
58
|
|
|
58
|
-
def api_key(self) -> str
|
|
59
|
+
def api_key(self) -> Optional[str]:
|
|
59
60
|
return str(self.ad_id) if self.ad_id else None
|
|
60
61
|
|
|
61
62
|
def set_id(self, id_value):
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.0.0.dev14"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.0.0.dev13"
|
|
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.0.0.dev13 → wizata_dsapi-2.0.0.dev14}/wizata_dsapi.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|