File tree Expand file tree Collapse file tree
vertexai/resources/preview/feature_store Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -465,6 +465,10 @@ class VertexAiResourceNoun(metaclass=abc.ABCMeta):
465465 service representation of the resource noun.
466466 """
467467
468+ def __new__ (cls , * args , ** kwargs ):
469+ """Explicit __new__ to prevent argument forwarding to object.__new__."""
470+ return super ().__new__ (cls )
471+
468472 @property
469473 @classmethod
470474 @abc .abstractmethod
Original file line number Diff line number Diff line change 6262 "3.11" : ["2.42.0" , "2.47.1" ],
6363}
6464UNIT_TEST_STANDARD_DEPENDENCIES = [
65- "mock" ,
66- "asyncmock" ,
6765 "pytest" ,
6866 "pytest-cov" ,
6967 "pytest-asyncio" ,
Original file line number Diff line number Diff line change 271271 "kfp >= 2.6.0, < 3.0.0; python_version<'3.13'" ,
272272 "pytest-asyncio" ,
273273 "pytest-cov" ,
274- "mock" ,
275274 "pytest-xdist" ,
276275 "Pillow" ,
277276 "scikit-learn<1.6.0; python_version<='3.10'" ,
Original file line number Diff line number Diff line change 5151)
5252
5353__all__ = (
54- Feature ,
55- FeatureGroup ,
56- FeatureGroupBigQuerySource ,
57- FeatureMonitor ,
58- FeatureOnlineStoreType ,
59- FeatureOnlineStore ,
60- FeatureView ,
61- FeatureViewBigQuerySource ,
62- FeatureViewReadResponse ,
63- FeatureViewVertexRagSource ,
64- FeatureViewRegistrySource ,
65- IndexConfig ,
66- IndexConfig ,
67- TreeAhConfig ,
68- BruteForceConfig ,
69- DistanceMeasureType ,
70- AlgorithmConfig ,
54+ "Feature" ,
55+ "FeatureGroup" ,
56+ "FeatureGroupBigQuerySource" ,
57+ "FeatureMonitor" ,
58+ "FeatureOnlineStoreType" ,
59+ "FeatureOnlineStore" ,
60+ "FeatureView" ,
61+ "FeatureViewBigQuerySource" ,
62+ "FeatureViewReadResponse" ,
63+ "FeatureViewVertexRagSource" ,
64+ "FeatureViewRegistrySource" ,
65+ "IndexConfig" ,
66+ "TreeAhConfig" ,
67+ "BruteForceConfig" ,
68+ "DistanceMeasureType" ,
69+ "AlgorithmConfig" ,
7170)
Original file line number Diff line number Diff line change 2020from google .cloud .aiplatform import base , initializer
2121from google .cloud .aiplatform import utils
2222from google .cloud .aiplatform .compat .types import (
23- feature as gca_feature ,
2423 feature_group as gca_feature_group ,
25- io as gca_io ,
2624 feature_monitor_v1beta1 as gca_feature_monitor ,
25+ feature as gca_feature ,
26+ io as gca_io ,
2727)
28- from vertexai .resources .preview .feature_store .utils import (
29- FeatureGroupBigQuerySource ,
30- )
31- from vertexai .resources .preview .feature_store import (
28+ from vertexai .resources .preview .feature_store .feature import (
3229 Feature ,
3330)
3431from vertexai .resources .preview .feature_store .feature_monitor import (
3532 FeatureMonitor ,
3633)
34+ from vertexai .resources .preview .feature_store .utils import (
35+ FeatureGroupBigQuerySource ,
36+ )
3737
3838
3939_LOGGER = base .Logger (__name__ )
You can’t perform that action at this time.
0 commit comments