MCPcopy
hub / github.com/feast-dev/feast / _make

Function _make

sdk/python/tests/integration/registration/test_versioning.py:55–68  ·  view source on GitHub ↗
(description="test feature view", version="latest", **kwargs)

Source from the content-addressed store, hash-verified

53@pytest.fixture
54def make_fv(entity):
55 def _make(description="test feature view", version="latest", **kwargs):
56 return FeatureView(
57 name="driver_stats",
58 entities=[entity],
59 ttl=timedelta(days=1),
60 schema=[
61 Field(name="driver_id", dtype=Int64),
62 Field(name="trips_today", dtype=Int64),
63 Field(name="avg_rating", dtype=Float32),
64 ],
65 description=description,
66 version=version,
67 **kwargs,
68 )
69
70 return _make
71

Callers

nothing calls this directly

Calls 5

FeatureViewClass · 0.90
FieldClass · 0.90
FileSourceClass · 0.90
PushSourceClass · 0.90
StreamFeatureViewClass · 0.90

Tested by

no test coverage detected