tencent-wedata-feature-engineering-dev 0.1.36__tar.gz → 0.1.38__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.
Potentially problematic release.
This version of tencent-wedata-feature-engineering-dev might be problematic. Click here for more details.
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/PKG-INFO +1 -1
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/tencent_wedata_feature_engineering_dev.egg-info/PKG-INFO +1 -1
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/cloud_sdk_client/client.py +7 -2
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/constants/constants.py +1 -1
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/README.md +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/setup.cfg +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/setup.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/tencent_wedata_feature_engineering_dev.egg-info/SOURCES.txt +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/tencent_wedata_feature_engineering_dev.egg-info/dependency_links.txt +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/tencent_wedata_feature_engineering_dev.egg-info/requires.txt +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/tencent_wedata_feature_engineering_dev.egg-info/top_level.txt +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/client.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/cloud_sdk_client/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/cloud_sdk_client/models.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/cloud_sdk_client/utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/common/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/common/protos/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/common/protos/feature_store_pb2.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/common/store_config/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/common/store_config/redis.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/constants/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/constants/engine_types.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/column_info.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/environment_variables.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/feature.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/feature_column_info.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/feature_function.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/feature_lookup.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/feature_spec.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/feature_spec_constants.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/feature_table.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/feature_table_info.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/function_info.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/on_demand_column_info.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/source_data_column_info.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/entities/training_set.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/feast_client/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/feast_client/feast_client.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/feature_table_client/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/feature_table_client/feature_table_client.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/mlflow_model.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/spark_client/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/spark_client/spark_client.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/training_set_client/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/training_set_client/training_set_client.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/common_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/env_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/feature_lookup_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/feature_spec_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/feature_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/on_demand_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/schema_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/signature_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/topological_sort.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/training_set_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/uc_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/feature_store/utils/validation_utils.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/tempo/__init__.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/tempo/interpol.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/tempo/intervals.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/tempo/io.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/tempo/ml.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/tempo/resample.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/tempo/tsdf.py +0 -0
- {tencent-wedata-feature-engineering-dev-0.1.36 → tencent-wedata-feature-engineering-dev-0.1.38}/wedata/tempo/utils.py +0 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import json
|
|
2
2
|
|
|
3
3
|
from tencentcloud.wedata.v20210820.wedata_client import WedataClient
|
|
4
|
+
from tencentcloud.wedata.v20250806.wedata_client import WedataClient as WedataClientV2
|
|
4
5
|
from tencentcloud.common import credential
|
|
5
6
|
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
|
6
7
|
from wedata.feature_store.cloud_sdk_client.utils import get_client_profile, set_request_header
|
|
7
|
-
import
|
|
8
|
+
import wedata.feature_store.cloud_sdk_client.models as models
|
|
8
9
|
|
|
9
10
|
|
|
10
11
|
class FeatureCloudSDK:
|
|
11
12
|
def __init__(self, secret_id: str, secret_key: str, region: str):
|
|
12
13
|
self._client = WedataClient(credential.Credential(secret_id, secret_key), region, get_client_profile())
|
|
14
|
+
self._client_v2 = WedataClientV2(credential.Credential(secret_id, secret_key), region, get_client_profile())
|
|
13
15
|
|
|
14
16
|
def CreateOnlineFeatureTable(self, request: models.CreateOnlineFeatureTableRequest) -> 'models.CreateOnlineFeatureTableResponse':
|
|
15
17
|
"""
|
|
@@ -25,6 +27,7 @@ class FeatureCloudSDK:
|
|
|
25
27
|
headers = set_request_header(request.headers)
|
|
26
28
|
print(f"CreateOnlineFeatureTable params: {params}")
|
|
27
29
|
print(f"CreateOnlineFeatureTable headers: {headers}")
|
|
30
|
+
self._client._apiVersion = "2021-08-20"
|
|
28
31
|
body = self._client.call("CreateOnlineFeatureTable", params, headers=headers)
|
|
29
32
|
response = json.loads(body)
|
|
30
33
|
model = models.CreateOnlineFeatureTableResponse()
|
|
@@ -51,6 +54,7 @@ class FeatureCloudSDK:
|
|
|
51
54
|
headers = set_request_header(request.headers)
|
|
52
55
|
print(f"DescribeNormalSchedulerExecutorGroups params: {params}")
|
|
53
56
|
print(f"DescribeNormalSchedulerExecutorGroups headers: {headers}")
|
|
57
|
+
self._client._apiVersion = "2021-08-20"
|
|
54
58
|
body = self._client.call("DescribeNormalSchedulerExecutorGroups", params, headers=headers)
|
|
55
59
|
response = json.loads(body)
|
|
56
60
|
model = models.DescribeNormalSchedulerExecutorGroupsResponse()
|
|
@@ -76,7 +80,8 @@ class FeatureCloudSDK:
|
|
|
76
80
|
headers = set_request_header(request.headers)
|
|
77
81
|
print(f"RefreshFeatureTable params: {params}")
|
|
78
82
|
print(f"RefreshFeatureTable headers: {headers}")
|
|
79
|
-
|
|
83
|
+
self._client_v2._apiVersion = "2025-08-06"
|
|
84
|
+
body = self._client_v2.call("RefreshFeatureTable", params, headers=headers)
|
|
80
85
|
response = json.loads(body)
|
|
81
86
|
model = models.RefreshFeatureTableResponse()
|
|
82
87
|
model._deserialize(response["Response"])
|
|
@@ -43,7 +43,7 @@ ML_MODEL = "MLmodel"
|
|
|
43
43
|
FEATURE_LOOKUP_CLIENT_PIP_PACKAGE = "tencent-wedata-feature-engineering-dev"
|
|
44
44
|
|
|
45
45
|
# 特征查找版本号
|
|
46
|
-
FEATURE_LOOKUP_CLIENT_MAJOR_VERSION = "0.1.
|
|
46
|
+
FEATURE_LOOKUP_CLIENT_MAJOR_VERSION = "0.1.38"
|
|
47
47
|
|
|
48
48
|
# 特征存储内部数据目录
|
|
49
49
|
FEATURE_STORE_INTERNAL_DATA_DIR = "_wedata_internal/"
|
|
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
|